DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Creating an SCO Visual Tcl program -- an overview

Specifying an action when user clicks OK (KillFormOkCB)

The KillFormOkCB callback takes three parameters:

To kill the process, exec(TCL) runs the kill -9 command on the process ID contained in pid. In real practice, a catch would typically be placed around this command.

Next, VxGetVar(VTCL) gets the handle of the list widget, and calls the DoRefresh procedure to update the list.


Next topic: Updating process list in response to user (MenuRefreshCB)
Previous topic: Creating the question dialog (VtQuestionDialog)

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003