Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

I found this little program that runs in system tray and will hide the cursor after a few seconds of inactivity. Dunno if it will work with GameEx since I don't think it will hide the egg timer cursor, but I havn't tried it yet (can someone confirm).

http://www.ezblitz.com/TimsHideCursor/TimsHideCursor.exe

Here is an explaination on how he did it..

I used a timer which fires every second. In the handler I call

GetCursorPos(&pos)

and compare it with the previous position. If it changes I show the mouse

HCURSOR cursor = app->LoadCursor(IDC_POINTER);

SetSystemCursor(cursor, 32512);

else I hide it and use a transparent icon.

I didn't bother using the hooks method, although this would have shown the mouse quicker when it began to move again.

This would be a nice function in GameEx, rather than hiding it completely.

Guest
This topic is now closed to further replies.
×
×
  • Create New...