Category Custom user interface, Object ProUITree

Function ProUITreeStateGet


Description
Get 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>
ProErrorProUITreeStateGet(
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
/* (Out)
State of the item. PRO_B_TRUE if the item is checked. PRO_B_FALSE if the item is unchecked. This argument is not allowed to 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 Attributes
  2. User Interface: Dialogs: Tree Operations
  3. User Interface: Dialogs: Tree Operations