![]() |
![]() |
![]() |
Device.ShowCursor Method |
Language: |
Displays or hides the cursor.
Visual Basic .NET Public Function ShowCursor( _
ByVal canShow As Boolean _
) As BooleanC# public bool ShowCursor(
bool canShow
);Managed C++ public: bool ShowCursor(
bool canShow
);JScript .NET 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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center