![Xcalibur Systems LLC Logo](../icons/logo.png) |
WindowHelperGetActiveWindow Method |
Retrieves the window handle to the active window attached to the calling thread's message
queue.
GetActiveWindow function Namespace: Xcalibur.NativeMethods.V2.WindowsAssembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax[DllImportAttribute("user32.dll")]
public static IntPtr GetActiveWindow()
<DllImportAttribute("user32.dll">]
Public Shared Function GetActiveWindow As IntPtr
public:
[DllImportAttribute(L"user32.dll")]
static IntPtr GetActiveWindow()
[<DllImportAttribute("user32.dll")>]
static member GetActiveWindow : unit -> IntPtr
Return Value
IntPtrThe 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