IUIX_Dialog::GetItemSel Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 2: Line 2:
 
{{#customTitle:IUIX_Dialog::GetItemSel Method}}
 
{{#customTitle:IUIX_Dialog::GetItemSel Method}}
 
{{#parentPage:PXV:IUIX_Dialog|GetItemSel Method|method}}
 
{{#parentPage:PXV:IUIX_Dialog|GetItemSel Method|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Gets currently selected item in list of object with [[PXV:IUIX_List|IUIX_List]] or [[PXV:IUIX_Combo|IUIX_Combo]] interface implemented.
 +
 
 +
Object is selected via its text ID.
  
 
== Syntax ==
 
== Syntax ==
Line 13: Line 14:
 
== Parameters ==
 
== Parameters ==
 
;pItemID
 
;pItemID
:[in]  Value of BSTR.
+
:[in]  text ID of a required object in a dialog.
 
;pCurSel
 
;pCurSel
:[out, retval]  Pointer to LONG.
+
:[out, retval]  number of the selected item.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 06:45, 16 May 2015


Gets currently selected item in list of object with IUIX_List or IUIX_Combo interface implemented.

Object is selected via its text ID.

Syntax

HRESULT GetItemSel([in]           BSTR   pItemID,
                   [out, retval]  LONG*  pCurSel);

Parameters

pItemID
[in] text ID of a required object in a dialog.
pCurSel
[out, retval] number of the selected item.

Return Value

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

See Also

See also IUIX_Dialog.