|
-
Aug 20th, 2001, 04:31 PM
#1
Thread Starter
Junior Member
GetForegroundWindow Question
Im trying to find the foreground window, using GetForegroundWindow, and then getting its Title using GetWindowText.
The problem is that GetForegroundWindow returns a Long, like 3989, for example, but I need to specify the hWnd of the window in the GetWindowText function to get its title.
How do I get the hWnd of the window using the number?
DocUK
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
|