IUIX_Combo::SetItemTooltip Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
 
(10 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#Methods|SetItemTooltip|method}}
  
The method of interface of PDF-XChange Editor SDK.
+
 
 +
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, [in] BSTR pTooltip);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT SetItemTooltip([in] LONG nItem,
 +
                      [in] BSTR sTooltip);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''nItem''
+
;nItem
:[in]  Value of LONG.
+
:[in]  number of a required item.
;''pTooltip''
+
;sTooltip
:[in]  Value of BSTR.
+
:[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 14: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