//if (!m_wndToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP | CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) || // !m_wndToolBar.LoadToolBar(theApp.m_bHiColorIcons ? IDR_MAINFRAME_256 : IDR_MAINFRAME)) //{ // TRACE0("Failed to create toolbar\n"); // return -1; // fail to create //} //CString strToolBarName; //bNameValid = strToolBarName.LoadString(IDS_TOOLBAR_STANDARD); //ASSERT(bNameValid); //m_wndToolBar.SetWindowText(strToolBarName); //CString strCustomize; //bNameValid = strCustomize.LoadString(IDS_TOOLBAR_CUSTOMIZE); //ASSERT(bNameValid); //m_wndToolBar.EnableCustomizeButton(TRUE, ID_VIEW_CUSTOMIZE, strCustomize); //// Allow user-defined toolbars operations: //InitUserToolbars(NULL, uiFirstUserToolBarId, uiLastUserToolBarId);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)