How would you do that using Builder, I tried SetCursor(NULL); but it wouldn't compile. So whats another way to do it.
THANKS
Printable View
How would you do that using Builder, I tried SetCursor(NULL); but it wouldn't compile. So whats another way to do it.
THANKS
ShowCursor(0);
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
it's api, so include windows.h
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.
You can do it the DOS way as well...
Now how's that?Code:/* 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);
}