2 Attachment(s)
[VB6] Force Foreground Window Demo
The attached project demonstrates how to utilize various APIs to force a window to the foreground. Keep in mind though, that these techniques would probably annoy your users if your window forcibly stealed the focus from whatever they're currently doing. ;)
Re: [VB6] Force Foreground Window Demo
If that is not a very long piece of code, can you post it please?
Meanwhile, as I have said I have the main screen flashing and within the loop that does that I'd like to explore the idea of adding and removing a 'dummy' icon as a possible solution.
Re: [VB6] Force Foreground Window Demo
Quote:
Originally Posted by
el84
If that is not a very long piece of code, can you post it please? ...
Here's my reply in your thread.
Re: [VB6] Force Foreground Window Demo
Works fine. Also in 'Flashing icon in taskbar' thread. In my case, I wanted my warning window to steal the focus. Thanks Bonnie