IUIX_Combo::MoveItem Method
From PDF XChange PDF SDK
(Automatic page editing by robot) |
|||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_Combo::MoveItem Method}} | {{#customTitle:IUIX_Combo::MoveItem Method}} | ||
+ | {{#parentPage:PXV:IUIX_Combo#Methods|MoveItem|method}} | ||
− | + | ||
+ | Moves combo box item at '''nItem''' position to '''nNewIndex''' position in a list. | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT MoveItem([in] LONG nItem, [in] LONG nNewIndex);</pre> | + | <pre class="brush:cpp;gutter:false">HRESULT MoveItem([in] LONG nItem, |
+ | [in] LONG nNewIndex);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;nItem |
− | :[in] | + | :[in] position of an item to move. |
− | ; | + | ;nNewIndex |
− | :[in] | + | :[in] new item position. |
== 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_Combo|IUIX_Combo]] |
Latest revision as of 13:18, 15 June 2015
Moves combo box item at nItem position to nNewIndex position in a list.
Syntax
HRESULT MoveItem([in] LONG nItem, [in] LONG nNewIndex);
Parameters
- nItem
- [in] position of an item to move.
- nNewIndex
- [in] new item position.
Return Value
Returns S_OK if the operation was successful, or will return an error code if it fails.