void SetCursorType(CursorType type);
SetCursorType sets the type of the cursor state for the current window.