Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DAY 004: _WINDOWHASFOCUS
#4
Ah, focus problems, something the laptop musician must deal with regularly!

Then again, people complain about any modal dialogs. In a few programs I used way back on WindowsXP the "open" file dialog wasn't modal and sometimes it could hide behind the "parent" program which could cause a nasty crash. It always surprised me when I discovered an "orphan window" asking me to pick a filename. :/

The focus thing came up as recently as last month when I wanted to install Fedora and needed to use a Spanish keyboard to place an accented vowel somewhere in "real user's name" field. The "Anaconda" installer does provide a way to switch keyboards in this need, but I felt better opening "gucharmap" and copying the vowel from there and then pasting. The "Calamares" and the Ubuntu installer a lot like it aren't modal neither but might like less being focused away.

I should use this function to rewrite an utility very much like Pete's which gets text data from the clipboard and pastes it into a different application. "You have five seconds to switch windows!" message on QB64 user program screenie otherwise. LOL I've relied a bit too much on that user program out of QB64 v0.98 32-bit.
Reply


Messages In This Thread
DAY 004: _WINDOWHASFOCUS - by SMcNeill - 11-09-2022, 01:26 PM
RE: DAY 004: _WINDOWHASFOCUS - by bplus - 11-09-2022, 04:42 PM
RE: DAY 004: _WINDOWHASFOCUS - by SMcNeill - 11-09-2022, 06:25 PM
RE: DAY 004: _WINDOWHASFOCUS - by mnrvovrfc - 11-09-2022, 06:28 PM
RE: DAY 004: _WINDOWHASFOCUS - by Pete - 11-10-2022, 12:00 AM
RE: DAY 004: _WINDOWHASFOCUS - by SMcNeill - 11-10-2022, 12:35 AM
RE: DAY 004: _WINDOWHASFOCUS - by Pete - 11-10-2022, 01:20 AM
RE: DAY 004: _WINDOWHASFOCUS - by SMcNeill - 11-10-2022, 02:17 AM
RE: DAY 004: _WINDOWHASFOCUS - by CharlieJV - 11-10-2022, 12:53 AM
RE: DAY 004: _WINDOWHASFOCUS - by Pete - 11-10-2022, 02:24 AM



Users browsing this thread: 3 Guest(s)