What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Hidie mouse in visual basic

Hidie mouse in visual basic
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Hidie mouse in visual basic
Yeah, and the solution to that is already given...

code:
Private Declare Function ShowCursor Lib "user32" (ByVal lShow As Long) As Long
Sub Form_Load ()
    ShowCursor False
    ' do whatever you want with the mouse gone
    ShowCursor True
End Sub
But keep in mind that if you call the ShowCursor function more than once passing False as an argument, then you must call ShowCursor with True an equal number of times, otherwise the cursor will remain invisible!!!!
.-= A 'frrrrrrrituurrr' for Wacky =-.
05-20-2004 05:31 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Hidie mouse in visual basic - by Necroman on 05-20-2004 at 02:59 PM
RE: Hidie mouse in visual basic - by Stigmata on 05-20-2004 at 03:55 PM
RE: Hidie mouse in visual basic - by Necroman on 05-20-2004 at 04:18 PM
RE: Hidie mouse in visual basic - by dotNorma on 05-20-2004 at 04:20 PM
RE: Hidie mouse in visual basic - by Stigmata on 05-20-2004 at 04:20 PM
RE: Hidie mouse in visual basic - by Mike on 05-20-2004 at 04:30 PM
RE: Hidie mouse in visual basic - by CookieRevised on 05-20-2004 at 04:43 PM
RE: Hidie mouse in visual basic - by Necroman on 05-20-2004 at 04:45 PM
RE: Hidie mouse in visual basic - by CookieRevised on 05-20-2004 at 05:31 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On