IUIX_Dialog::SetItemText2 Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
{{#customTitle:IUIX_Dialog::SetItemText2 Method}}
 
{{#customTitle:IUIX_Dialog::SetItemText2 Method}}
 
{{#parentPage:PXV:IUIX_Dialog#Methods|SetItemText2|method}}
 
{{#parentPage:PXV:IUIX_Dialog#Methods|SetItemText2|method}}
{{ToReview}}
+
 
  
 
Sets text of a required dialog item by item's numerical ID.
 
Sets text of a required dialog item by item's numerical ID.
Line 9: Line 9:
 
== Syntax ==
 
== Syntax ==
 
<pre class="brush:cpp;gutter:false">HRESULT SetItemText2([in]  LONG  nItemID,
 
<pre class="brush:cpp;gutter:false">HRESULT SetItemText2([in]  LONG  nItemID,
                     [in]  BSTR  pText);</pre>
+
                     [in]  BSTR  sText);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;nItemID
 
;nItemID
 
:[in]  numerical ID of a required item.
 
:[in]  numerical ID of a required item.
;pText
+
;sText
 
:[in]  new item text.
 
:[in]  new item 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 ==
 
[[PXV:IUIX_Dialog|IUIX_Dialog]]
 
[[PXV:IUIX_Dialog|IUIX_Dialog]]

Latest revision as of 15:08, 15 June 2015


Sets text of a required dialog item by item's numerical ID.

Syntax

HRESULT SetItemText2([in]  LONG  nItemID,
                     [in]  BSTR  sText);

Parameters

nItemID
[in] numerical ID of a required item.
sText
[in] new item text.

Return Value

Returns S_OK if the operation was successful, or will return an error code if it fails.

See Also

IUIX_Dialog