Category Custom user interface, Object ProUITree

Function ProUITreeStateSet


Description
Set the state of the item in the tree. The state is applicable only for a "check" type of tree and refers to the checked or unchecked status of the item.
Synopsis
#include <ProUITree.h>
ProErrorProUITreeStateSet(
char* dialog
/* (In)
The name of the dialog that contains the tree.
*/
char* component
/* (In)
The name of the tree component.
*/
char* item
/* (In)
The name of the item in the tree.
*/
ProBoolean state
/* (In)
State of the item. PRO_B_TRUE if the item is to be checked. PRO_B_FALSE if the item is to be unchecked.
*/
)
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 Attributes
  2. User Interface: Dialogs: Tree Operations
  3. User Interface: Dialogs: Tree Operations