By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,552 Members | 927 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,552 IT Pros & Developers. It's quick & easy.

cursor show and hide

P: n/a
quick question, im making a a program and when the mouseposition gets to a
caertain point, it will be shown, if it isnt ther, it will be hidden. i have
the code written and set breakpoints but it wont work, heres what i have

if me.mouseposition.Y >= 100 then
end if

but when it gets below 100, it doesnt show up even though, when i set a
breakpoint there, it executes the
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies

P: n/a
Try this:

Private Sub Form1_MouseMove(ByVal sender As Object, ByVal e As
System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseMove
If Me.Cursor.Position.X >= 100 Then
End If
End Sub

I hope this helps

Nov 21 '05 #2

P: n/a
hi, yea that didnt work, it does the same thing. when i set the breakpoint it
says that the Y coordinate is less that 100 and ti highlights the code
"" but it wont show it
Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.