Category Custom user interface, Object ProUITree

Function ProUITreeNodesVisit


Description
Visits all the descendent nodes of the given node in the tree.
Synopsis
#include <ProUITree.h>
ProErrorProUITreeNodesVisit(
char* dialog
/* (In)
The name of the dialog that contains the tree.
*/
char* component
/* (In)
The name of the tree component.
*/
char* node_name
/* (In)
The name of the node under which all nodes should be visited.
*/
ProUITreeNodeVisitAction action
/* (In)
The visiting function. If it returns anything other than PRO_TK_NO_ERROR, then visiting stops.
*/
ProUITreeNodeFilterAction filter
/* (In)
The filter function. If NULL all nodes will be visited by the visiting function.
*/
ProAppData appdata
/* (In)
The application data passed to the filter and visiting 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.

Manual References:

  1. User Interface: Dialogs: Tree Node Functions