COleCmdUI::COleCmdUI
**COleCmdUI(OLECMD***rgCmds, ULONGcCmds, constGUID*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
Constructs a COleCmdUI object associated with a particular user-interface command. 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.