|
GetActiveWindow The GetActiveWindow function retrieves the window handle to the active window associated with the thread that calls the function. VB4-32,5,6 Declare Function GetActiveWindow Lib "user32" Alias "GetActiveWindow" () As Long |
VB.NET System.Windows.Forms.Form.ActiveForm |
Operating Systems Supported |
Requires Windows NT 3.1 or later; Requires Windows 95 or later |
If the function succeeds, the return value is the handle to the active window associated with the thread that calls the function. If the calling thread does not have an active window, the return value is NULL. |
|
|
|