Updating process list in response to user (MenuRefreshCB)
The MenuRefreshCB callback updates the
process list when the user selects Refresh from
the View menu.
This callback obtains the handle of the list widget, then
calls the DoRefresh procedure. To accomplish this,
MenuRefreshCB:
-
uses
keylget(TCL)
to obtain the form dialog from the cbs keyed list
-
calls
VxGetVar(VTCL)
to obtain the list widget attached to that form dialog
-
passes the list widget to the DoRefresh procedure
Next topic:
Exiting the program (MenuExitCB)
Previous topic:
Specifying an action when user clicks OK (KillFormOkCB)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003