MFC工具栏ToolBar按钮添加下拉菜单(转)2010-07-04 11:001.在MainFrm.cpp的int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)函数末尾添加如下代码:为画图工具栏的按钮添加下拉菜单m_wndToolBar.GetToolBarCtrl().SetExtendedStyle(TBSTYLE_EX_DRA