DXUTSetCursorSettings
Microsoft DirectX 9.0 SDK Update (October 2004)

DXUTSetCursorSettings Function


Sets options for cursor usage in full-screen mode.

Syntax

HRESULT DXUTSetCursorSettings(      

    BOOL bShowCursorWhenFullScreen,     BOOL bClipCursorWhenFullScreen );

Parameters

bShowCursorWhenFullScreen
[in] Cursor visibility flag. If TRUE, the cursor will be visible when the application is running in full-screen mode.
bClipCursorWhenFullScreen
[in] Cursor clipping flag. If TRUE, the cursor will be restricted from exiting the screen boundaries when the application is running in full screen mode.

Return Value

If the function succeeds, the return value is S_OK.

If the function fails, the return value can be one of the error codes in DXUTERR.

Function Information

Headerdxut.h
Import libraryNone
Minimum operating systems Windows 98


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.