Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DAY 004: _WINDOWHASFOCUS
#5
The real need here is to get something Windows is very poor at doing, forcing a window to be active. Spriggsy and I both found slightly different methods with a common requirement. You have to write code to minimize the window and restore it. Doing that forces it active. The downside is the slight loss of window effect or the effect of seeing the window go to the task bar and back. I mention the two visuals because you could hide the window before minimizing it, which gets rid of the task bar trip effect. Anyway, this was the way I got the TCP/IP messenger app user friendly.

Pete
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: 2 Guest(s)