IUIX_Dialog::GetNextItem Method

From PDF XChange PDF SDK
Jump to: navigation, search


Gets next to pCurItem dialog item. Next item is selected according to flags from UIX_GetNextDlgItemFlags enumeration specified in nEnumFlags parameter.

Syntax

HRESULT GetNextItem([in]                    IUIX_Obj*   pCurItem,
                    [in, defaultvalue(-1)]  LONG        nEnumFlags,
                    [out, retval]           IUIX_Obj**  pNextItem);

Parameters

pCurItem
[in] current object of IUIX_Obj interface.
nEnumFlags
[in, defaultvalue(-1)] specifies parameters from UIX_GetNextDlgItemFlags enumeration according to which next item will be selected.
pNextItem
[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 the operation was successful, or will return an error code if it fails.

See Also

IUIX_Dialog