Category Custom user interface, Object ProUIDialog

Function ProUIDialogCloseActionSet


Description
Sets the close action for a dialog. This function is called after the dialog is closed by a call to ProUIDialogExit()
Synopsis
#include <ProUIDialog.h>
ProErrorProUIDialogCloseActionSet(
char* dialog
/* (In)
The name of the dialog
*/
ProUIAction action
/* (In)
The action to be called on closing the dialog
*/
ProAppData appdata
/* (In)
User data to be passed to the action function. Can be NULL.
*/
)
Returns
PRO_TK_NO_ERRORThe function was successful
PRO_TK_GENERAL_ERRORThe function failed

Manual References:

  1. User Interface: Dialogs: Dialog Action Callbacks
  2. User Interface: Dialogs: Dialog Action Callbacks

Sample Code References:

  1. pt_examples ( TestUITable.c )
  2. pt_geardesign ( GearDesignUI.c )
  3. pt_install_cxx ( TestInstall.cxx )
  4. pt_install_test ( TestInstall.c )