Extended KotD #22: _MOUSEHIDDEN - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: Official Links (https://qb64phoenix.com/forum/forumdisplay.php?fid=16) +--- Forum: Learning Resources and Archives (https://qb64phoenix.com/forum/forumdisplay.php?fid=13) +---- Forum: Keyword of the Day! (https://qb64phoenix.com/forum/forumdisplay.php?fid=49) +---- Thread: Extended KotD #22: _MOUSEHIDDEN (/showthread.php?tid=3377) |
Extended KotD #22: _MOUSEHIDDEN - SMcNeill - 01-14-2025 As life has finally started to slow down here with us getting past the holiday season and all, I finally have some time to get around to adding in the KOTD for the latest commands in version 4.0. My apologies for the delay, but Christmas and all gets rather busy and paying bills and making a living has to come before doing these little keyword snippets and explanations for everyone. So, to start us off with v4.0 new keywords, let's begin with the first one I see in the version notes: _MOUSEHIDDEN This new command is about as simple as any command can get. It's a function... Just call it by its name. That's it! Syntax: result% = _MOUSEHIDDEN
That's... about as overwhelming complicated as this command gets. Use it like any other Function, and it returns a value of (True or -1) if the mouse cursor is hidden, or a value of (False or 0) if it's visible. Code: (Select All)
There's honestly nothing much to add here. If all the new keywords are this simple to implement and understand, even @Pete might be able to use them! |