Device.ShowCursor Method |
Language: |
Displays or hides the cursor.
Visual Basic Public Function ShowCursor( _
ByVal canShow As Boolean _
) As BooleanC# public bool ShowCursor(
bool canShow
);C++ public:
bool ShowCursor(
bool canShow
);JScript public function ShowCursor(
canShow : boolean
) : boolean;
canShow System.Boolean
Set to true if the cursor is shown. Set to false if the cursor is hidden.
System.Boolean
Value that indicates whether the cursor was previously visible. If set to true, the cursor was visible; if set to false, it was not.
Microsoft Direct3D cursor functions use either the Microsoft Windows Graphics Device Interface (GDI) cursor or software emulation, depending on the hardware.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center