Share via


COleIPFrameWndEx::SetupToolbarMenu

Modifies a toolbar object by searching for dummy items and replacing them with the specified user-defined items.

void SetupToolbarMenu(
   CMenu& menu,
   const UINT uiViewUserToolbarCmdFirst,
   const UINT uiViewUserToolbarCmdLast 
);

Parameters

  • [in] menu
    A reference to a CMenu object to be modified.

  • [in] uiViewUserToolbarCmdFirst
    Specifies the first user-defined command.

  • [in] uiViewUserToolbarCmdLast
    Specifies the last user-defined command.

Requirements

Header: afxoleipframewndex.h

See Also

Concepts

MFC Hierarchy Chart

Reference

COleIPFrameWndEx Class