IUIX_Dialog::GetNextItem Method
From PDF XChange PDF SDK
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_Dialog::GetNextItem Method}} | {{#customTitle:IUIX_Dialog::GetNextItem Method}} | ||
− | {{#parentPage:PXV:IUIX_Dialog|GetNextItem | + | {{#parentPage:PXV:IUIX_Dialog#Methods|GetNextItem|method}} |
− | + | ||
− | + | ||
− | Gets next to '''pCurItem''' dialog item. | + | |
+ | Gets next to '''pCurItem''' dialog item. ''Next'' item is selected according to flags from [[PXV:UIX_GetNextDlgItemFlags|UIX_GetNextDlgItemFlags]] enumeration specified in '''nEnumFlags''' parameter. | ||
== Syntax == | == Syntax == | ||
<pre class="brush:cpp;gutter:false">HRESULT GetNextItem([in] IUIX_Obj* pCurItem, | <pre class="brush:cpp;gutter:false">HRESULT GetNextItem([in] IUIX_Obj* pCurItem, | ||
[in, defaultvalue(-1)] LONG nEnumFlags, | [in, defaultvalue(-1)] LONG nEnumFlags, | ||
− | [out, retval] IUIX_Obj** | + | [out, retval] IUIX_Obj** pNextItem);</pre> |
== Parameters == | == Parameters == | ||
;pCurItem | ;pCurItem | ||
− | :[in] | + | :[in] ''current'' object of [[PXV:IUIX_Obj|IUIX_Obj]] interface. |
;nEnumFlags | ;nEnumFlags | ||
− | :[in, defaultvalue(-1)] | + | :[in, defaultvalue(-1)] specifies parameters from [[PXV:UIX_GetNextDlgItemFlags|UIX_GetNextDlgItemFlags]] enumeration according to which ''next'' item will be selected. |
− | ; | + | ;pNextItem |
− | :[out, retval] | + | :[out, retval] return object of [[PXV:IUIX_Obj|IUIX_Obj]] interface. Use <code>[[PXV:IUIX_Obj_QueryImpl|QueryImpl]]</code> method to query implementation of a required item type from <code>IUIX_Obj</code>. |
== Return Value == | == Return Value == | ||
− | Returns S_OK if operation was successful or error code | + | Returns S_OK if the operation was successful, or will return an error code if it fails. |
== See Also == | == See Also == | ||
− | + | [[PXV:IUIX_Dialog|IUIX_Dialog]] |
Latest revision as of 14:27, 15 June 2015
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 fromIUIX_Obj
.
Return Value
Returns S_OK if the operation was successful, or will return an error code if it fails.