IUIX_Combo::IsItemDisabled Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_Combo::IsItemDisabled Method}} | {{#customTitle:IUIX_Combo::IsItemDisabled Method}} | ||
− | {{#parentPage:PXV:IUIX_Combo#Methods|IsItemDisabled | + | {{#parentPage:PXV:IUIX_Combo#Methods|IsItemDisabled|method}} |
− | + | ||
Checks if a required item is disabled. | Checks if a required item is disabled. | ||
Line 9: | Line 9: | ||
== Syntax == | == Syntax == | ||
<pre class="brush:cpp;gutter:false">HRESULT IsItemDisabled([in] LONG nItem, | <pre class="brush:cpp;gutter:false">HRESULT IsItemDisabled([in] LONG nItem, | ||
− | [out, retval] VARIANT_BOOL* | + | [out, retval] VARIANT_BOOL* bIsDisabled);</pre> |
== Parameters == | == Parameters == | ||
;nItem | ;nItem | ||
:[in] number of a required item. | :[in] number of a required item. | ||
− | ; | + | ;bIsDisabled |
:[out, retval] Returns VARIANT_TRUE if item is disabled. Note, that if an item is a separator, return value will also be VARIANT_TRUE. In other cases, it returns VARIANT_FALSE. | :[out, retval] Returns VARIANT_TRUE if item is disabled. Note, that if an item is a separator, return value will also be VARIANT_TRUE. In other cases, it returns VARIANT_FALSE. | ||
== Return Value == | == Return Value == | ||
− | Returns S_OK if operation was successful or error code | + | Returns S_OK if the operation was successful, or will return an error code if it fails. |
== See Also == | == See Also == | ||
[[PXV:IUIX_Combo|IUIX_Combo]] | [[PXV:IUIX_Combo|IUIX_Combo]] |
Latest revision as of 13:16, 15 June 2015
Checks if a required item is disabled.
Syntax
HRESULT IsItemDisabled([in] LONG nItem, [out, retval] VARIANT_BOOL* bIsDisabled);
Parameters
- nItem
- [in] number of a required item.
- bIsDisabled
- [out, retval] Returns VARIANT_TRUE if item is disabled. Note, that if an item is a separator, return value will also be VARIANT_TRUE. In other cases, it returns VARIANT_FALSE.
Return Value
Returns S_OK if the operation was successful, or will return an error code if it fails.