Let's say I have many different applications open and the vb app is somewhere behind them. On a certain event, I want the application to come to the front of the screen.
NOTHING SHOULD EVER POP UP IN FRONT OF THE CURRENT WINDOW.
or, less shoutily, nothing should change the focus unexpectedly.
not all your users use the mouse all the time. if your app pops up and i am typing, what is the worst damage could i do?
you should look into those notification windows that pop up bottom right by default in XP and later.
that being said, you could look at the Activate method of a window (this should pop it up over most things) or the TopMost property and/or HWND_TOPMOST, but don't tell anyone i told you. of course other apps know about this and you'll have to fight them for topmost position.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.