Microsoft DirectX 8.1 (Visual Basic) |
object.ShowCursor( _ bShow As Long) As Long
Value indicating whether the cursor was previously visible. This value is nonzero if the cursor was previously visible, or zero if the cursor was not previously visible.
If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL.
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.
This method is independent of the Microsoft® Win32® API ShowCursor and SetCursor functions. Applications should either use the Win32 cursor or the Microsoft Direct3D® cursor, not both.
Direct3DDevice8.SetCursorPosition, Direct3DDevice8.SetCursorProperties