Category Custom user interface, Object ProUITree

Function ProUITreeExpandActionSet


Description
Set the action function to be called when the user attempts to expand a tree node by clicking on the '+' sign.

NOTE: You must make this callback call ProUITreeNodeExpand() to actually expand the node.

Synopsis
#include <ProUITree.h>
ProErrorProUITreeExpandActionSet(
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 node is expanded.
*/
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
ProUITreeTreeexpcolnodeGet

Manual References:

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