Click to See Complete Forum and Search --> : Making the Cursor Invisible
Allanon
Jan 28th, 2001, 10:39 AM
How would you do that using Builder, I tried SetCursor(NULL); but it wouldn't compile. So whats another way to do it.
THANKS
kourosh
Jan 28th, 2001, 02:06 PM
HI, I am a newbie in c++, I was wondering if I need to add any libraries to make use the statment:
Showcursor(0);???
Thanks in advance
Jop
Jan 28th, 2001, 03:13 PM
it's api, so include windows.h
jovton
Jan 30th, 2001, 01:08 AM
the ShowCursor API call just might not be good enough.
If you're going to hide the cursor for your own application only, then it will work fine, but to hide the cursor for the entire system, it will require a little bit more work.
If you want, I can give a sample.
Warmaster199
Mar 2nd, 2001, 04:51 PM
You can do it the DOS way as well...
/* Shows the mouse cursor */
void showmouseptr()
{
i.x.ax=1;
int86(0x33,&i,&o);
}
/* Hides the mouse cursor */
void hidemouseptr()
{
i.x.ax=2;
int86(0x33,&i,&o);
}
Now how's that?
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.