Feedback

  • Contents
 

II3IDMenuItem::IsEnabled Property

get_IsEnabled

Indicates whether or not the menu item is enabled.

IDL Function Prototype

HRESULT IsEnabled(

   [out, retval] VARIANT_BOOL * MenuIsEnabled

);

C/C++ Syntax

HRESULT get_IsEnabled(VARIANT_BOOL * MenuIsEnabled);

Parameters

MenuIsEnabled

This property returns True if the menu item is enabled, or False if the item is disabled.


put_IsEnabled

Sets whether or not the menu item is enabled.

IDL Function Prototype

HRESULT IsEnabled(

   [in] VARIANT_BOOL MenuIsEnabled

);

C/C++ Syntax

HRESULT put_IsEnabled(VARIANT_BOOL MenuIsEnabled);

Parameters

MenuIsEnabled

Specify True to enable the menu item, or False to disable it.