IUIX_Dialog::GetNextItem Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_Dialog::GetNextItem Method}} | {{#customTitle:IUIX_Dialog::GetNextItem Method}} | ||
− | {{#parentPage:PXV:IUIX_Dialog#Methods|GetNextItem | + | {{#parentPage:PXV:IUIX_Dialog#Methods|GetNextItem|method}} |
− | + | ||
Gets next to '''pCurItem''' dialog item. ''Next'' item is selected according to flags from [[PXV:UIX_GetNextDlgItemFlags|UIX_GetNextDlgItemFlags]] enumeration specified in '''nEnumFlags''' parameter. | Gets next to '''pCurItem''' dialog item. ''Next'' item is selected according to flags from [[PXV:UIX_GetNextDlgItemFlags|UIX_GetNextDlgItemFlags]] enumeration specified in '''nEnumFlags''' parameter. | ||
Line 10: | Line 10: | ||
<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 == | ||
Line 17: | Line 17: | ||
;nEnumFlags | ;nEnumFlags | ||
:[in, defaultvalue(-1)] specifies parameters from [[PXV:UIX_GetNextDlgItemFlags|UIX_GetNextDlgItemFlags]] enumeration according to which ''next'' item will be selected. | :[in, defaultvalue(-1)] specifies parameters from [[PXV:UIX_GetNextDlgItemFlags|UIX_GetNextDlgItemFlags]] enumeration according to which ''next'' item will be selected. | ||
− | ; | + | ;pNextItem |
:[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>. | :[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]] | + | [[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.