(Formerly known as DisableCursorMode, which is now obsolete)
Mouse.DisableMode(int mode)
Disables the mouse cursor MODE. Any attempts to set the cursor to this mode
while it is disabled (such as using UseModeGraphic) will fail. This function
also greys out and disables any interface buttons whose left-click command
is set as "Set mode X", where X is equal to MODE.
If the current cursor mode is MODE, then the engine will change it to the
next enabled standard cursor.
Example:
mouse.DisableMode(eModeWalkto);
will make the walk mode unavailable until it's enabled again.
See Also: Mouse.EnableMode
|