-
My app checks data from a winsock connection and if certain information arrives then I want to raise an alert.
The app sits in systray and I want it to spawn a new form to alert the user.
The problem I am having is I need it to be "on top" of every thing else when it appears. It doesn't need to be 'always on top' it just has to appear there. At the moment if you are reading email and the alert triggers the form appears but you can only see it on the task bar, it doesn't have focus so that it appears in front of the email (or whatever) software.
is the only way to do it make it "Always on top" temporariy? I'm sure there is an API call at least which can send a form to the top of the Z order...
-
you could use the code here:
http://www.vb-world.net/tips/tip4.html
to set the window on top and then set it not on top afer a short delay
-
Yeah, that's what I was thinking but it seems a bit of an overkill for a popup effect.
thanks for the link the though
-
Any other ideas ?
Anyone?