IUIX_Dialog::EnableItem Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 2: | Line 2: | ||
{{#customTitle:IUIX_Dialog::EnableItem Method}} | {{#customTitle:IUIX_Dialog::EnableItem Method}} | ||
{{#parentPage:PXV:IUIX_Dialog|EnableItem Method|method}} | {{#parentPage:PXV:IUIX_Dialog|EnableItem Method|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Enables/disables an item in a dialog by item's ''text ID''. | |
== Syntax == | == Syntax == | ||
Line 13: | Line 12: | ||
== Parameters == | == Parameters == | ||
;pItemID | ;pItemID | ||
− | :[in] | + | :[in] text ID of an item to be enabled/disabled. |
;bEnable | ;bEnable | ||
− | :[in] | + | :[in] enables required item if this parameter is set to TRUE, or disables it if set to FALSE. |
== Return Value == | == Return Value == |
Revision as of 05:45, 15 May 2015
Enables/disables an item in a dialog by item's text ID.
Contents
Syntax
HRESULT EnableItem([in] BSTR pItemID, [in] VARIANT_BOOL bEnable);
Parameters
- pItemID
- [in] text ID of an item to be enabled/disabled.
- bEnable
- [in] enables required item if this parameter is set to TRUE, or disables it if set to FALSE.
Return Value
Returns S_OK if operation was successful or error code in other cases.
See Also
See also IUIX_Dialog.