Click or drag to resize
Xcalibur Systems LLC Logo

WindowHelperGetActiveWindow Method

Retrieves the window handle to the active window attached to the calling thread's message queue.

GetActiveWindow function


Namespace: Xcalibur.NativeMethods.V2.Windows
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
[DllImportAttribute("user32.dll")]
public static IntPtr GetActiveWindow()

Return Value

IntPtr
The return value is the handle to the active window attached to the calling thread's message queue. Otherwise, the return value is NULL.
See Also