Category Custom user interface, Object ProUIList

Function ProUIListActivateActionSet


Description
Sets the activate action for a list. This function is called when the return key is pressed or the mouse is double-clicked in the list.
Synopsis
#include <ProUIList.h>
ProErrorProUIListActivateActionSet(
char* dialog
/* (In)
The name of the dialog that contains the list.
*/
char* list
/* (In)
The name of the list component
*/
ProUIAction action
/* (In)
The action to perform when the list is activated.
*/
ProAppData appdata
/* (In)
Application data to be passed to callback function
*/
)
Returns
PRO_TK_NO_ERRORThe function was successful
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid
PRO_TK_GENERAL_ERRORThe function failed

Manual References:

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