|
-
Sep 25th, 2001, 03:59 PM
#1
Thread Starter
Hyperactive Member
Api Genius!!! This Is Going To Take Mad Skills
I am trying to develop an application that responds when the active window is changed. This means if any window becomes the foreground the window and any window stops being the foreground window, it reacts.(I do not want to use a timer in any way) I tried using subclassing with wm_activate and wm_activateapp. Am I doing something wrong, or do those only respond when your form is actived or deactived? Secondly, I was told that through use of the API call setwindowshookex, I could successfully track whenever the active window is changed. How would I go about doing this? I would need to execute it on the global scale to track all of windows, but what hook would signify a change in the foreground(active) window. I thank you for any help that can be given. Good luck.
Sincerely,
Joe
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|