This is probably a really easy thing but my mind is somwhere else at the moment!
I want the mousepointer to be invisible over a picturebox...
please help :p
Printable View
This is probably a really easy thing but my mind is somwhere else at the moment!
I want the mousepointer to be invisible over a picturebox...
please help :p
Something like this:It's not especially reliable like that though, so you may want to look at the TrackMouseEvent API to detect when the cursor moves off the control. See this for more info on that http://www.vbforums.com/showthread.p...267#post513734VB Code:
Private Declare Function ShowCursor& Lib "user32" (ByVal bShow As Long) Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) ShowCursor True End Sub Private Sub Picture1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) ShowCursor False End Sub
hmmm
maybe create an invisible cursor file then
set the picture box mouseicon property to the cursor file
thanks! :D :D :p ;) :)
i think ill stick to the invisible cursor file thing...
the other thing made the mousepointer invisible in VB!!!:mad:
hehe! ill just restart it and maybe its ok then...
its strange that i cant choose that in the properties...