CCmdUI::Enable
virtual void Enable( BOOL bOn = TRUE );
参数:
bOn
如果为TRUE,则把该项设置为允许存取;为FALSE,则设置为禁止存取。
说明:本函数用来设置一个命令是否可以存取用户接口项。
请参阅:
CCmdUI::SetCheck