after writing the code to add a toolbar to a dialog-based mfc the dialog doesn't run
here's the code that I have used to create a toolbar on my dialog and I am in the early stages of the tutorial just added these codes to my program: InitialJobProject2Dlg.h CToolBar m_FirstToolBar; InitialJobProject2.cpp BOOL CInitialJobProject2Dlg::OnInitDialog() { CDialogEx::OnInitDialog(); // Add "About..." menu item to system menu. // IDM_ABOUTBOX must be in the system command range. ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); ASSERT(IDM_ABOUTBOX < 0xF000); CMenu* pSysMenu = GetSystemMenu(FALSE); if (pSysMenu != NULL) { BOOL bNameValid; CString strAboutMenu; bNameValid = strAboutMenu