IUIX_Combo::SetItemTooltip Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_Combo::SetItemTooltip Method}} | {{#customTitle:IUIX_Combo::SetItemTooltip Method}} | ||
− | {{#parentPage:PXV:IUIX_Combo|SetItemTooltip | + | {{#parentPage:PXV:IUIX_Combo#Methods|SetItemTooltip|method}} |
− | + | ||
Sets ''tooltip'' for a required item in a [[PXV:IUIX_Combo|combo box]]. | Sets ''tooltip'' for a required item in a [[PXV:IUIX_Combo|combo box]]. | ||
Line 9: | Line 9: | ||
== Syntax == | == Syntax == | ||
<pre class="brush:cpp;gutter:false">HRESULT SetItemTooltip([in] LONG nItem, | <pre class="brush:cpp;gutter:false">HRESULT SetItemTooltip([in] LONG nItem, | ||
− | [in] BSTR | + | [in] BSTR sTooltip);</pre> |
== Parameters == | == Parameters == | ||
;nItem | ;nItem | ||
:[in] number of a required item. | :[in] number of a required item. | ||
− | ; | + | ;sTooltip |
:[in] tooltip text. | :[in] tooltip text. | ||
== 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]] | + | [[PXV:IUIX_Combo|IUIX_Combo]] |
Latest revision as of 13:32, 15 June 2015
Sets tooltip for a required item in a combo box.
Syntax
HRESULT SetItemTooltip([in] LONG nItem, [in] BSTR sTooltip);
Parameters
- nItem
- [in] number of a required item.
- sTooltip
- [in] tooltip text.
Return Value
Returns S_OK if the operation was successful, or will return an error code if it fails.