IUIX_Dialog::CheckItem Method

From PDF XChange PDF SDK
Revision as of 06:06, 15 May 2015 by Oleh (Talk | contribs)

Jump to: navigation, search


Changes state of object of IUIX_Label interface with radio box or check box flags specified.

Object's state can be altered to checked or unchecked.

Syntax

HRESULT CheckItem([in]                    BSTR          pItemID,
                  [in]                    LONG          nNewCheckState,
                  [in, defaultvalue(-1)]  VARIANT_BOOL  bUpdateRadioGroup);

Parameters

pItemID
[in] Text ID of an item of IUIX_Label interface to check/uncheck.
nNewCheckState
[in] BOOL value. Checks an item of set to TRUE, unchecks otherwise.
bUpdateRadioGroup
[in, defaultvalue(-1)] Value of VARIANT_BOOL.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

See also IUIX_Dialog.