COleCmdUI::COleCmdUI
Constructs a COleCmdUI object associated with a particular user-interface command.
COleCmdUI(
OLECMD* rgCmds,
ULONG cCmds,
const GUID* m_pGroup
);
Parameters
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.
Remarks
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.
Requirements
Header: afxdocob.h