|
-
Jul 6th, 2021, 12:46 PM
#3
Thread Starter
Hyperactive Member
Re: How to hide cursor?
For two main excuses:
- Github and Stackoverflow are commonly C# and C++ based communities with high talented contributors in mentioned languages.
- I'd like VBForums to have this question inside of it (and fortunately answered) here in VB.NET format, easy to use.
Yes it worked! Surprisingly, I didn't add System.Windows.Forms namespace (maybe it was inserted via project references, attached to the solution, I'm not sure) but Cursor.Hide() worked very well. But I wanted to revert it (Cursor.Show()) in Form1_MouseMove event but it does not follow. I even added a test msgbox in this event to see it happened or not, doesn't respond. I also deleted the code and renewed (Cause I saw sometimes compiler bypasses Form1_MouseMove and generates Form1_MouseMove1 as the new correct one.)
I'm suspected, I am using a wrong event to re-show the cursor. What do you think?
Tags for this Thread
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
|