ICommandUI::Enabled
Enables or disables the user interface item for this command.
property bool Enabled;
Заметки
This property enables or disables the user interface item for this command. Set Enabled to TRUE to enable the item, FALSE to disable it.
Требования
Header: afxwinforms.h