MFC Toolbar on Dialog?
问题 I have tried everything I can think of to get a toolbar to show up on my dialog... including trying to create it myself with CreateWindow.. but it won't show up I created a dialog in the resource editor, and then made a class for it(tried deriving from both CDialog and CDialogEx). Isn't it possible to add a CToolbar control to it? 回答1: Well, there are four steps. 1, CToolBar m_ToolBar; // Meanwhile you create a resource (e.g. IDR_TOOLBAR1) 2, Call CToolBar's Create function m_ToolBar.Create