Defining the callbacks
The graphic above shows what callbacks are needed; namely,
one for each button that can be pushed and for which we
want a callback. These callbacks are:
MenuKillCB-
invoked when
Kill Selected is selected from the Process menu
MenuExitCB-
invoked when
Exit is selected from the Process menu
MenuRefreshCB-
invoked when
Refresh is selected from the View menu
KillFormOkCB-
invoked when
OK is chosen from the question dialog
When the user clicks on Cancel in
the question dialog, no action should take place.
Therefore, a callback is not defined for Cancel.
Callback routines can have any name. The convention typically
used is to end callback names with the letters CB (for callback).
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 02 June 2005