If a user clicks on my application's main window how can I restore focus
and/or activation to the window which just lost activation?
To simplify my application I have a dialog with a button on it. When the
user clicks the button I want to perform some action and then restore focus
to where it was before the user clicked. It appears that WM_ACTIVATE is
only useful when the window being deactivated is within the same thread as
the window gaining activation. It also appears that sometimes the
WM_ACTIVATEAPP message received contains a NULL task handle (thread id).
Anyone have an idea how to do this?
Thanks.
--Brent
------------------------------------------------------------------------
S. Brent Faulkner
br...@golden.net (home)
br...@allross.com (business)
--
Ed
Reply to eslin...@usa.net
My reported email address is bogus to prevent 'spamverts'.
S. Brent Faulkner <br...@golden.net> wrote in article
<01bc3e5e$fe7db370$efa806cf@katmandu>...
--Brent