CFrameWndEx::SetupToolbarMenu
Inserts user-defined commands into a toolbar menu.
void SetupToolbarMenu(
CMenu& menu,
const UINT uiViewUserToolbarCmdFirst,
const UINT uiViewUserToolbarCmdLast
);
Parameters
[in] menu
A CMenu object to be modified.[in] uiViewUserToolbarCmdFirst
The first user-defined command.[in] uiViewUserToolbarCmdLast
The last user-defined command.
Remarks
The framework stores user-defined commands in a list. Use uiViewUserToolbarCmdFirst and uiViewUserToolbarCmdList to specify the indexes of the commands to insert.
Requirements
Header: afxframewndex.h