IUIX_Combo::FindItemByText Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_Combo::FindItemByText Method}} | {{#customTitle:IUIX_Combo::FindItemByText Method}} | ||
Line 23: | Line 24: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IUIX_Combo|IUIX_Combo]]. |
Revision as of 07:12, 20 May 2015
Returns index of an item with a required text.
Syntax
HRESULT FindItemByText([in] BSTR pText, [in, defaultvalue(0)] LONG nFlags, [out, retval] LONG* pIndex);
Parameters
- pText
- [in] BSTR value of text to search for.
- nFlags
- [in, defaultvalue(0)] Specifies parameters of text search. See UIX_FindItemByTextFlags for a full list of available search flags.
- pIndex
- [out, retval] Returned value of found item index. Returns -1 if no items with given parameters were found. If there is more than one item found, index of the first of them in combo box list will be returned.
Return Value
Returns S_OK if operation was successful or error code in other cases.