Capture Foreground Window Change

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Does anybody know how to capture when the foreground window changes in
C++? I have a PPC 2003 SE (ARM4) device and I would like to write a
program that globally captures when the active foreground window
changes.

I have tried experimenting with SetWindowsHookEx but I can't compile,
"Identifier Not Found", I read on a post that it is not supported in
CE4?

Thanks,
Jerod
.



Relevant Pages

  • Re: SetCapture
    ... >>cursor is moving WITHIN the dialog that captured the mouse...not any other ... > the mouse is over the capturing window, or when the mouse button was pressed ... > Only one window at a time can capture the mouse. ... Only the foreground window can capture the mouse. ...
    (microsoft.public.vc.language)
  • Re: SetCapture
    ... > The wording is slightly different in the Feb.2003 PSDK. ... > Only the foreground window can capture the mouse. ...
    (microsoft.public.vc.language)
  • Re: [OT] Best Freeware (WAS) Best newsreader for binaries?
    ... > Capture the foreground window. ... > Capture client area of the foreground window. ... Sweet, thanks duck! ...
    (news.software.readers)