Peter Laman wrote:
> Win32 question: If I switch to my application from another app, how can I
> detect which window from the previous application had input focus before
> switching apps?

Your program will receive a wm_ActivateApp message telling it which 
thread's window lost the focus. You may also receive wm_Activate and 
wm_SetFocus messages. Both give information about which window was 
active beforehand.

-- 
Rob
__________________________________________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to