|
-
Jan 28th, 2001, 11:39 AM
#1
Thread Starter
Lively Member
How would you do that using Builder, I tried SetCursor(NULL); but it wouldn't compile. So whats another way to do it.
THANKS
-
Jan 28th, 2001, 12:03 PM
#2
-
Jan 28th, 2001, 03:06 PM
#3
Hyperactive Member
is there any library to add?
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
===========================
Kourosh Gonabadi
VB Programmer 
C++ Newbie 
Graphic Designer
===========================
-
Jan 28th, 2001, 04:13 PM
#4
Frenzied Member
it's api, so include windows.h
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Jan 30th, 2001, 02:08 AM
#5
Hyperactive Member
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.
-
Mar 2nd, 2001, 05:51 PM
#6
Hyperactive Member
You can do it the DOS way as well...
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);
}
Now how's that?
Designer/Programmer of the Comtech Operating System(CTOS)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|