quote:
Originally posted by CookieRevised
but you can simply restore a window without bringing it to the foreground
IIRC, in C++, you provide both SW_RESTORE and SW_NOACTIVATE bitwise-or'd to ShowWindow(). That restores the window, but doesn't activate it, therefore it won't move focus out of the active window.
Edit: I was close. According to
MSDN, it's actually SW_SHOWNOACTIVATE.
* RaceProUK checks the value...
It's 4
quote:
Originally posted by WinUser.h"
#define SW_SHOWNOACTIVATE 4