Quantcast
Viewing all articles
Browse latest Browse all 168

ShowCursor very limited

I was hoping that calling ShowCursor 0 would hide the cursor always, and ShowCursor 1 would show it always. Unfortunately this does not work. What I end up with is it hiding the cursor in ONLY my application's window, but the moment I move my cursor outside my application window, it reappears. I was hoping to hide it entirely with ShowCursor 0 and make it reappear only when calling ShowCursor 1. I need this for this game I'm playing. It uses a cursor in the game which is a custom graphic, and separately it still leaves my normal mouse cursor showing (which isn't in synch in terms of physical location with the game's cursor, so you end up with a double cursor, which gets REALLY annoying). Because the programer of the game neglected to use a cursor hiding command in the game, I decided I was going to make my own cursor hider application. It is intended to make the cursor ENTIRELY invisible EVERYWHERE on the screen until I closed down said application (for example via a combination of key presses), and the application itself is meant to run in the background, acting entirely as a cursor hider for any and all other places the cursor might be on the screen, NOT a cursor hider limited to the program's own window (as it is meant to not even show its own window).


Any help with a BETTER API call than ShowCursor, or some kind of trick or glitch or hack that I might exploit (due any bug that may exist in this api function) I could use with ShowCursor to get it to do what I want (even if MS didn't intend it to be used that way), would REALLY be helpful right now.

Viewing all articles
Browse latest Browse all 168

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>