Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Nov : Get handle of last active window

www.cryer.info
Managed Newsgroup Archive

Get handle of last active window

Subject:Get handle of last active window
Posted by:"Andrew" (1)
Date:Thu, 9 Nov 2006 15:04:01

Hi All,

I am trying to get the handle of the window that was last active before my
program became active.
I have tried a WMActivate handler on my main form but it always returns no
information in the TWMActivate structure.

Any ideas?

Replies:

www.cryer.info
Managed Newsgroup Archive