ITT Rule IDL Version 7.0 Uživatelský manuál Strana 288

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 430
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 287
288 Chapter 12: Using iTool User Interface Elements
Status Messages iTool Developers 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.
Zobrazit stránku 287
1 2 ... 283 284 285 286 287 288 289 290 291 292 293 ... 429 430

Komentáře k této Příručce

Žádné komentáře