Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
This property is available only when developing for Windows.
Sets or gets the window handle that mouse data will be captured within.
Namespace: Microsoft.Xna.Framework.Input
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public static IntPtr WindowHandle { get; set; }
Property Value
Handle to a window.
See Also
Tasks
How to: Get the Current Mouse Position (Windows)
Concepts
Reference
Mouse Class
Mouse Members
Microsoft.Xna.Framework.Input Namespace
Platforms
Windows XP SP2, Windows Vista