Device.ShowCursor(Boolean) Method (Microsoft.DirectX.Direct3D)
Displays or hides the cursor.
Definition
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;
Parameters
canShow System.Boolean
Set to true if the cursor is shown. Set to false if the cursor is hidden.
Return Value
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.
Remarks
Microsoft Direct3D cursor functions use either the Microsoft Windows Graphics Device Interface (GDI) cursor or software emulation, depending on the hardware.
See Also