ITT Rule IDL Version 7.0 ユーザーズマニュアル

ページ / 430
Chapter 12: Using iTool User Interface Elements
287
iTool Developer’s Guide
Status Messages
Status Messages
Status messages are simple text messages displayed in a way that does not impede the 
user’s operation of the iTool. In the standard iTool user interface created using the 
IDL widget toolkit, status messages are text strings displayed at the bottom of the 
iTool window.
The IDLitIMessaging class provides two methods that display status messages. See 
StatusMessage
The IDLitIMessaging::StatusMessage method displays a string value. In the standard 
iTool interface created using the IDL widget toolkit, status messages appear in the 
status area at the bottom left corner of the iTool window, as shown in 
.
In the standard set of iTools provided with IDL, the status area is used to display 
status information for operations or informational messages pertaining to the 
currently selected object or manipulator.
The following code places the text “My Status Message” in the status area:
self->StatusMessage, 'My Status Message'
ProbeStatusMessage
The IDLitIMessaging::ProbeStatusMessage method displays a string value. In the 
standard iTool interface created using the IDL widget toolkit, probe status messages 
appear at the bottom right corner of the iTool window, as shown in 
.
Figure 12-1: The status areas of a standard iTool.