COleCmdUI::COleCmdUI
Constructs a COleCmdUI object associated with a particular user-interface command.
COleCmdUI(
OLECMD* rgCmds,
ULONG cCmds,
const GUID* m_pGroup
);
Параметры
rgCmds
A list of supported commands associated with the given GUID. The OLECMD structure associates commands with command flags.cCmds
The count of commands in rgCmds.pGroup
A pointer to a GUID that identifies a set of commands.
Заметки
The COleCmdUI object provides a programmatic interface for updating DocObject user-interface objects such as menu items or control-bar buttons. The user-interface objects can be enabled, disabled, checked, and/or cleared through the COleCmdUI object.
Требования
Header: afxdocob.h