A SERVICE OF

logo

288 Chapter 12: Using iTool User Interface Elements
Status Messages iTool Developer’s Guide
In the standard set of iTools provided with IDL, the probe status area is used to
display the position of the cursor within the iTool window.
The following code places the text “X: 300, Y:146” in the status area:
self->ProbeStatusMessage, 'X: 300, Y:146'
In most cases, the values displayed in the probe status area have some relationship to
the position of the cursor or to the action performed by the current manipulator.
Creating Additional Status Bar Segments
You can create additional named status bar segments using the RegisterStatusBar
method of the IDLitTool class. The text displayed in the newly created status bar
segment can then be modified using the IDLitIMessaging::StatusMessage method
with the SEGMENT_IDENTIFIER keyword.
See IDLitIMessaging::StatusMessage and “IDLitTool::RegisterStatusBarSegment”
(IDL Reference Guide) for details.