Microsoft DirectX 9.0 SDK Update (October 2004)

Framework.SetCursorSettings Method

Language:

Note: This documentation is preliminary and is subject to change.

Sets options for cursor usage in full-screen mode.

Definition

Visual Basic .NET Public Sub SetCursorSettings( _
    ByVal showCursorWhenFullscreen As Boolean, _
    ByVal clipCursorWhenFullscreen As Boolean _
)
C# public void SetCursorSettings(
    bool showCursorWhenFullscreen,
    bool clipCursorWhenFullscreen
);
Managed C++ public: void SetCursorSettings(
    bool showCursorWhenFullscreen,
    bool clipCursorWhenFullscreen
);
JScript .NET public function SetCursorSettings(
    showCursorWhenFullscreen : boolean,
    clipCursorWhenFullscreen : boolean
);

Parameters

showCursorWhenFullscreen System.Boolean. Set to true if the cursor will be visible when the application is running in full-screen mode; otherwise, false.
clipCursorWhenFullscreen System.Boolean. Set to true if the cursor will be restricted from exiting the screen boundaries when the application is running in full-screen mode; otherwise, false.

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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