how to create toolbars in an MFC dialog-based application
问题 I wonder how this guy has created this toolbar on the program: this is a modeless dialog created by the guy, I think: but my dialog is a modal one. I don't think it makes a lot of change! and this the code written by him to use the toolbar supplied in the res folder: MainFrm.h protected: // control bar embedded members CMFCMenuBar m_wndMenuBar; CMFCToolBar m_wndToolBar; CMFCStatusBar m_wndStatusBar; CMFCToolBarImages m_UserImages; MainFrm.cpp the code added in function: CMainFrame::OnCreate