Hi
I need to know how to hook on certain window events, but not for a hWnd of my program, for another window on the desktop. Let's say, for example, that I want my application to know when I click on the minimize button of this IE window (or any other window).
I know this is possible. I have a little app running here that does the same thing for Outlook Express, it hides OE in the systray when I click minimize, and fires it up again when I click on its icon in the systray. Unfortunately I don't have the source code for it. And I need to do just that in my program.
I know how to use EnumWindows() to find the handle of a particular window on the desktop, now I just want to know how to have a callback function called when a certain event occurs in this window. Polling is out of question
Any ideas ?