IUIX_Combo::IsItemDisabled Method
From PDF XChange PDF SDK
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_Combo::IsItemDisabled Method}} | {{#customTitle:IUIX_Combo::IsItemDisabled Method}} | ||
− | {{#parentPage:PXV:IUIX_Combo|method | + | {{#parentPage:PXV:IUIX_Combo#Methods|IsItemDisabled|method}} |
− | + | ||
− | + | ||
− | + | ||
+ | Checks if a required item is disabled. | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT IsItemDisabled([in] LONG nItem, [out, retval] VARIANT_BOOL* | + | <pre class="brush:cpp;gutter:false">HRESULT IsItemDisabled([in] LONG nItem, |
+ | [out, retval] VARIANT_BOOL* bIsDisabled);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;nItem |
− | :[in] | + | :[in] number of a required item. |
− | ; | + | ;bIsDisabled |
− | :[out, retval] | + | :[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]] |
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.