Category Custom user interface, Object ProUIList

Function ProUIListStateSet


Description
Set the state of the item in the list. The state is applicable only for a "check" type of list and refers to the checked or unchecked status of the item.
Synopsis
#include <ProUIList.h>
ProErrorProUIListStateSet(
char* dialog
/* (In)
The name of the dialog that contains the list.
*/
char* component
/* (In)
The name of the list component.
*/
char* item
/* (In)
The name of the item in the list.
*/
ProUIMixedState state
/* (In)
State of the item. PROUI_SET if the item is to be checked. PROUI_UNSET if the item is to be unchecked. PROUI_MIXED if the item is to be in an indeterminate state.
*/
)
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: List Attributes
  2. User Interface: Dialogs: List Operations
  3. User Interface: Dialogs: Master Table of Resource File Attributes