Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
_MOUSEHIDE / _MOUSESHOW
#2
Those statements seem to have been provided "just in case", and otherwise shouldn't be needed. I don't remember well but programming MS-DOS and early Windows applications required the mouse cursor drawn, or it came from a driver, which made it a necessity to "hide" the cursor temporarily, draw all or part of the screen and then "show" the cursor again. It's because a driver cannot know what another program is doing with the screen. Also if the mouse cursor has to be drawn like a simple circle or rectangle in somebody's newb program, it definitely has to be managed "manually". These days, however, it's managed gracefully by the operating system. There's almost no worry of the cursor leaving trails somewhere...

Sometimes this combination could be dangerous. I had some programs disappearing the mouse cursor and unable to get it back which forced me to quit on it, or even log out the user session. Thankfully on Linux the mouse cursor seems to be managed by the desktop environment such as KDE Plasma. It should be alike on Macintosh or Windows.
Reply


Messages In This Thread
_MOUSEHIDE / _MOUSESHOW - by Pete - 11-25-2022, 07:32 PM
RE: _MOUSEHIDE / _MOUSESHOW - by mnrvovrfc - 11-25-2022, 07:39 PM
RE: _MOUSEHIDE / _MOUSESHOW - by gaslouk - 11-26-2022, 08:22 AM
RE: _MOUSEHIDE / _MOUSESHOW - by SMcNeill - 11-26-2022, 08:36 AM
RE: _MOUSEHIDE / _MOUSESHOW - by Pete - 11-26-2022, 09:17 AM
RE: _MOUSEHIDE / _MOUSESHOW - by SMcNeill - 11-26-2022, 10:34 AM
RE: _MOUSEHIDE / _MOUSESHOW - by Pete - 11-26-2022, 04:55 PM
RE: _MOUSEHIDE / _MOUSESHOW - by mnrvovrfc - 11-26-2022, 08:07 PM



Users browsing this thread: 1 Guest(s)