ITT Rule IDL Version 7.0 Manuel d'utilisateur Page 355

  • 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 354
Chapter 15: Creating a Custom iTool Widget Interface 355
iTool Developer’s Guide Handling Resize Events
handled based on the layout and desired behavior of the interface. Aside from the
techniques discussed in “Widget Sizing” (Chapter 3, Widget Application
Programming), keep the following in mind when writing your resizing routine:
Use the supplied *_RESIZE procedures defined by the iTool compound
widget routines to resize the compound widgets, when they are available. See
the reference pages for the CW_IT* widgets for details.
Widget sizing is handled differently on Windows and UNIX platforms.
Specifically:
On Windows platforms, turn off widget updating (via the UPDATE
keyword to WIDGET_BASE) while widgets are resizing. This helps
prevent flashing.
On UNIX platforms, make sure updating is turned on while resizing, to
ensure proper resizing.
If you are storing the size of your base widget in the interface’s state structure,
be sure to update the values in the state structure after the interface has been
resized.
Vue de la page 354
1 2 ... 350 351 352 353 354 355 356 357 358 359 360 ... 429 430

Commentaires sur ces manuels

Pas de commentaire