Re: Bring To Front

by Marc Gravell on 10/31/2007 10:12:00 PM You could check the Form's WindowState; if it is Minimized, change it
to Normal (or what it was last)?

Marc

 

Re: Bring To Front

by Michael Nemtsev, MVP on 11/1/2007 12:14:00 PM Hello Gidi,

This is standard behaviour, since win 98 and above.
Everything you can do, by standard is to use set the correct form state and
call Form.Activate. But it doesn't make your windows above your Outlook

another tricks, about making form "really active" involves registry editing

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


G> Hi,
G>
G> I've a windows application, with RegisterHotKey.
G> my problem is that when i press the HotKey, i want that a window form
G> will
G> pop-up, and that's what happens but, the window is in a miniMize
G> state
G> (incase my application is not focused). meaning, if i'm using Outlook
G> and
G> pressing the HotKey, my new window will be in a minimize state
G> instead of
G> being in the fornt of my screen.
G> I'm using the BringToFront() function but still i don't get the
G> result i need.
G> maybe i'm using it not in the right place... ?
G> Thanks,
G> Gidi.