Programming Tips and Cautions
This section contains tips related to PV-WAVE GUI development.
PV-WAVE Routines to Avoid
Avoid using the following routines in applications developed with Wave Widgets or the Widget Toolbox. These routines wait for keyboard input and block the GUI.
Standard Library Routines
*GET_KBRD—Try using a text field widget instead.
*HAK—Try using a non-blocking message widget instead.
*MOVIE—Try using WgMovieTool instead.
User Library Routines
*ANMENU—Try using Wave Widgets menus instead.
*UNCMPRS_IMAGES
*XANIMATE—Try using WgAnimateTool instead.
PV-WAVE Routines to Use with Caution
Use the following routines with caution in applications developed with Wave Widgets or the Widget Toolbox. All of these routines block the user from interacting with the GUI.
Standard Library Routines
*CURSOR—Try using the Widget Toolbox event handler instead.
*DEFROI
*PROFILES
*RDPIX
*WAIT—Try using the WtTimer function instead.
*WMENU—Try using a menu bar widget instead.
*ZOOM