By the looks of it, SetThreadExecutionState might be what I want to use.Įnables an application to inform the system that it is in use, thereby preventing the system from entering sleep or turning off the display while the application is running. Perhaps SetThreadExecutionState is a better bet? A window should move the cursor only when the cursor is in the window’s client area.’īut I suspect it is the mouse system events that keep the machine awake, not the actual position of the mouse pointer. It’s located at %windir%\SysWOW64\user32.dll Start > Control Panel > Easy of Access > Easy of Access Center > Make the mouse easier to use > check Activate a window by hovering over it with the mouse option. In either tiled window, try scrolling the window contents using the mouse wheel with the mouse in the top 100px of the window. The 64 bit version is located at %windir%\System32\user32.dll.Ī 32-bit version is included for compatibility with 32-bit applications. USER32 is the right name for both 32 and 64bit versions. The last item on this page is Show location of pointer when I press the CTRL key. It returns true for all styles of Windows. In the Mouse Properties window, move to the Pointer Options tab.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |