Framework.WindowFocus Property

Language:

Retrieves the handle of the window that currently has focus.

Definition

Visual Basic Public ReadOnly Property WindowFocus As IntPtr
C# public IntPtr WindowFocus { get; }
C++ public:
property IntPtr WindowFocus {
        IntPtr get();
}
JScript public function get WindowFocus() : IntPtr

Property Value

System.IntPtr
The handle of the window that currently has focus.

This property is read-only. 

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center