IUIX_Dialog::GetItem2 Method

From PDF XChange PDF SDK
Jump to: navigation, search


Gets a required dialog item by its numerical ID.

Syntax

HRESULT GetItem2([in]                    LONG          nItemID,
                 [in, defaultvalue(-1)]  VARIANT_BOOL  bTranspSC,
                 [out, retval]           IUIX_Obj**    pItem);

Parameters

nItemID
[in] numerical ID of required item.
bTranspSC
[in, defaultvalue(-1)] Value of VARIANT_BOOL.
pItem
[out, retval] return object of IUIX_Obj interface. Use QueryImpl method to query implementation of a required item type from IUIX_Obj.

Return Value

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

See Also

IUIX_Dialog