|
IDL Reference Guide: iTools Object Classes |
|
The IDLitManipulator::GetCursorType function method retrieves the name of the cursor to display for the manipulator. The name of the cursor can be used with the SetCurrentCursor method of the IDLitWindow component.
The system will use this method to automatically change the cursor when the mouse traverses the contents of a visualization window. As the mouse transverses the window, the name for the hit item that is part of the current selection group is retrieved and passed to this routine. This action gives the manipulator the ability to change cursors depending on the area of the visualization the cursor is over.
Result = Obj->[IDLitManipulator::]GetCursorType(TypeIn, KeyMods)
Returns a string containing the name of the cursor. If nothing is matched, an empty string is returned.
| Note This name is defined during cursor registration using the IDLitManipulator::RegisterCursor method. |
A string variable containing the name of the portion of the selection visual for which the cursor is being requested.
An integer representing the keyboard modifiers for the button. These can have one of the following values
1 = SHIFT Key
2 = CTRL Key
4 = CAPS LOCK key
8 = ALT key
None
IDL Online Help (March 06, 2007)