Turning mouse vanish on
Posted: Sun Nov 11, 2007 9:13 am
According to MSDN, I should be able to turn mouse vanish on for Windows XP
with the following code. (Mouse vanish = the mouse hides when typing, and
reappears when the mouse is moved).
If I run this, it returns 1, which means it worked... but it doesn't. If I type, the
mouse is still present instead of disappearing. Any ideas why? MSDN says it's
only Windows 2000/NT and Windows 98/95 that doesn't support this command,
and I'm running XP Pro with SP2. At the moment I've been using my own code
to hide the mouse while typing, but man, I'd love to use just one line like this!
MSDN online article about it (not the article I used):
http://msdn2.microsoft.com/en-us/library/ms724947.aspx
with the following code. (Mouse vanish = the mouse hides when typing, and
reappears when the mouse is moved).
Code: Select all
Debug SystemParametersInfo_(#SPI_SETMOUSEVANISH,0,#True,0)
mouse is still present instead of disappearing. Any ideas why? MSDN says it's
only Windows 2000/NT and Windows 98/95 that doesn't support this command,
and I'm running XP Pro with SP2. At the moment I've been using my own code
to hide the mouse while typing, but man, I'd love to use just one line like this!
MSDN online article about it (not the article I used):
http://msdn2.microsoft.com/en-us/library/ms724947.aspx