|
-
Feb 6th, 2000, 02:10 PM
#1
Thread Starter
Member
Hi, I'm trying to get the current active window (including all other application's windows). I tried with getactivewindow() but it only works with my application. Are there any other ways to notice the focus on other applications too?
-
Feb 6th, 2000, 06:26 PM
#2
-
Feb 6th, 2000, 08:42 PM
#3
Hyperactive Member
There is no other way. GetActiveWindow returns the hWnd of the active window. And indeed, if you press on a command button to find out the active window, you're app is active.
You can try it out though using a timer, and the GetWindowText API, check every x-seconds what the active window is, get the windowtext and show it in a msgbox or whatever, you'll see that it works....
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
|