DXUTSetCursorSettings
Sets options for cursor usage in full-screen mode.
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 Values
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.
Requirements
Header: Declared in Dxut.h.