Category Custom user interface, Object ProUITree

Function ProUITreeActivateActionSet


Description
Set the action function to be called when the tree is activated. The tree is activated by the press of RETURN key or the double click of LEFT mouse button over the node in the tree.
Synopsis
#include <ProUITree.h>
ProErrorProUITreeActivateActionSet(
char* dialog
/* (In)
The name of the dialog that contains the tree.
*/
char* component
/* (In)
The name of the tree component.
*/
ProUIAction callback
/* (In)
Function to be called when the tree is activated.
*/
ProAppData data
/* (In)
Action data passed to the callback function. Can be NULL.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_GENERAL_ERRORThe function failed.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
See Also
ProUITreeActivateonreturnEnable
ProUITreeActivateonreturnDisable
ProUITreeIsActivateonreturnEnabled

Manual References:

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