Mouse.WindowHandle Property

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

Input Overview

Reference

Mouse Class
Mouse Members
Microsoft.Xna.Framework.Input Namespace

Platforms

Windows XP SP2, Windows Vista