IUIX_Combo::SetItemTooltip Method

From PDF XChange PDF SDK
Jump to: navigation, search
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Combo::SetItemTooltip Method}}
 
{{#customTitle:IUIX_Combo::SetItemTooltip Method}}
{{#parentPage:PXV:IUIX_Combo|SetItemTooltip Method|method}}
+
{{#parentPage:PXV:IUIX_Combo#Methods|SetItemTooltip|method}}
{{ToReview}}
+
  
Sets ''tooltip'' for a required item.
+
 
 +
Sets ''tooltip'' for a required item in a [[PXV:IUIX_Combo|combo box]].
  
 
== 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  pTooltip);</pre>
+
                       [in]  BSTR  sTooltip);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;nItem
 
;nItem
 
:[in]  number of a required item.
 
:[in]  number of a required item.
;pTooltip
+
;sTooltip
 
:[in]  tooltip text.
 
:[in]  tooltip text.
  
 
== Return Value ==
 
== Return Value ==
Returns S_OK if operation was successful or error code in other cases.
+
Returns S_OK if the operation was successful, or will return an error code if it fails.
  
 
== See Also ==
 
== 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.

See Also

IUIX_Combo