Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Apr : Detecting windows focus change and logging it

www.cryer.info
Managed Newsgroup Archive

Detecting windows focus change and logging it

Subject:Detecting windows focus change and logging it
Posted by:"Jason Chapman" (jason@nospamjac2.co.uk)
Date:Fri, 8 Apr 2005 09:44:26

I want to be able to log applications when they become active / inactive and
also when windows become active and inactive / captions change.

I have searched here, but not found anything.  I am not a Win32 API guru, so
I thought I should ask.

I want to end up with a log:
08:30:21 WINWORD.EXE activated
08:30:21 WINWORD.EXE whatever  the main form is called "RE: abc"
08:40:21 DELPHI32.EXE ...

Cheers,

JAC.

Replies:

www.cryer.info
Managed Newsgroup Archive