Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Very simple question 1

Status
Not open for further replies.

lmb3

Programmer
Jul 10, 2001
16
US
How do you make the mouse pointer on a form invisible? I know how to change the mouse pointer, but how do you just get rid of it?

Thanks!
 
One way is you could use a custom mouse pointer with nothing in the picture. I'm sure there is another way but that was the fastest thing I could find when I needed to do it. I think I actually had to make a picture that was 1x1 pixels and just a white dot that couldn't be seen. Hope his helps.

Adam
 
I use the showcursor API...

Declare Function ShowCursor Lib "user32" Alias "ShowCursor" (ByVal bShow As Long) As Long

then to hide the cursor...showcursor 0
to show cursor... showcursor 1

Hope this helps
Dragnut
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top