ITT Rule IDL Version 7.0 Manuel d'utilisateur Page 288

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 430
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 287
1 2 ... 283 284 285 286 287 288 289 290 291 292 293 ... 429 430

Commentaires sur ces manuels

Pas de commentaire