IUIX_Dialog::SetItemCueText Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 10: Line 10:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SetItemCueText([in]  BSTR  pItemID,
+
<pre class="brush:cpp;gutter:false">HRESULT SetItemCueText([in]  BSTR  sItemID,
                       [in]  BSTR  pText);</pre>
+
                       [in]  BSTR  sText);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pItemID
+
;sItemID
 
:[in]  text ID of a required item.
 
:[in]  text ID of a required item.
;pText
+
;sText
 
:[in]  ''cue text'' to display in the item.
 
:[in]  ''cue text'' to display in the item.
  

Revision as of 04:18, 15 June 2015


Sets cue text of a required item by its text ID. The item must implement IUIX_Edit interface.

Cue text is displayed in grey color when there is no other text in the item.

Syntax

HRESULT SetItemCueText([in]  BSTR  sItemID,
                       [in]  BSTR  sText);

Parameters

sItemID
[in] text ID of a required item.
sText
[in] cue text to display in the item.

Return Value

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

See Also

IUIX_Dialog