Category Custom user interface, Object ProUIOptionmenu

Function ProUIOptionmenuInputActionSet


Description
Sets the input action for an optionmenu. This function is called when the user changes the contents of the option menu. This is only valid for Editable optionmenus.
Synopsis
#include <ProUIOptionmenu.h>
ProErrorProUIOptionmenuInputActionSet(
char* dialog
/* (In)
The name of the dialog that contains the optionmenu.
*/
char* component
/* (In)
The name of the optionmenu component
*/
ProUIAction callback
/* (In)
The action to perform when the user changes the contents.
*/
ProAppData data
/* (In)
Application data to be passed to callback function
*/
)
Returns
PRO_TK_NO_ERRORThe function was successful
PRO_TK_GENERAL_ERRORThe function failed
PRO_TK_BAD_INPUTSAn invalid argument was given

Manual References:

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