Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetActiveWindow
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00795263
Message ID:
00795295
Views:
10
This message has been marked as the solution to the initial question of the thread.
The GetForegroundWindow function returns a handle to the foreground window (the window with which the user is currently working). The system assigns a slightly higher priority to the thread that creates the foreground window than it does to other threads.
DECLARE INTEGER GetForegroundWindow IN user32
MSDN link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/windows.asp

The GetActiveWindow function retrieves the window handle to the active window attached to the calling thread's message queue.
Previous
Reply
Map
View

Click here to load this message in the networking platform