Inheritance diagram for IShMouseUtilities:

Public Member Functions | |
| virtual void MCCOMAPI | Hide (void)=0 |
| virtual void MCCOMAPI | Show (void)=0 |
| virtual void MCCOMAPI | ForceCursorVisible (void)=0 |
| virtual void MCCOMAPI | SetCursorPosition (TMCPoint &inPos)=0 |
| virtual void MCCOMAPI | SetCursor (uint32 inCursorID)=0 |
| virtual void MCCOMAPI | CreatePerpetualMouseHelper (IMFPerpetualMouse **outPerpetualMouse)=0 |
|
|
SetCursorPosition() is very slow on MacOS X, so instead create a PerpetualMouse and use it. This can be used for supporting perpetual mouse movement. But usually, it's better and easier to just derive a class from TBasicMouseAction and override the ConstrainedToView(), IsPerpetualMouseAction(), and ShouldHideCursor() functions.
|
|
|
Generally not needed. Use Show() instead if possible. This shows the cursor and forces the cursor level to 0. |
|
|
When Hide() is called, it hides the cursor if the cursor level is 0. It then always decrements the cursor level, indicating that something wants to hide the cursor. |
|
|
Sets the cursor icon to use.
|
|
|
Sets the cursor position. Very slow on MacOS X, so use sparingly.
|
|
|
When Show() is called, it increments the cursor level, and if this brings the level to 0, shows the cursor. |
1.3.9.1