IUIX_Dialog::GetItemCheckState Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Dialog::GetItemCheckState Method}}
 
{{#customTitle:IUIX_Dialog::GetItemCheckState Method}}
{{#parentPage:PXV:IUIX_Dialog|method}}
+
{{#parentPage:PXV:IUIX_Dialog#Methods|GetItemCheckState|method}}
{{ToWrite}}
+
{{ToReview}}
+
  
The method of interface of PDF-XChange Editor SDK.
+
 
 +
Gets ''checked/unchecked'' state of a dialog item.
 +
 
 +
Used for items of [[PXV:IUIX_Label|IUIX_Label]] interface.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT GetItemCheckState([in] BSTR pItemID, [out, retval] LONG* pCheckState);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT GetItemCheckState([in]           BSTR   sItemID,
 +
                          [out, retval] LONG* nCheckState);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pItemID''
+
;sItemID
:[in]  Value of BSTR.
+
:[in]  text ID of a required item.
;''pCheckState''
+
;nCheckState
:[out, retval]  Pointer to LONG.
+
:[out, retval]  returns TRUE if an item is in ''checked'' state, or FALSE otherwise.
  
 
== 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_Dialog|IUIX_Dialog]].
+
[[PXV:IUIX_Dialog|IUIX_Dialog]]

Latest revision as of 15:13, 15 June 2015


Gets checked/unchecked state of a dialog item.

Used for items of IUIX_Label interface.

Syntax

HRESULT GetItemCheckState([in]           BSTR   sItemID,
                          [out, retval]  LONG*  nCheckState);

Parameters

sItemID
[in] text ID of a required item.
nCheckState
[out, retval] returns TRUE if an item is in checked state, or FALSE otherwise.

Return Value

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

See Also

IUIX_Dialog