UINT buttons[3] = {ID_ADD,ID_NEWS,ID_OTHER_VIEW}; if (!m_wndToolBar.CreateEx(this,TBSTYLE_FLAT,WS_CHILD | WS_VISIBLE | CBRS_TOP | CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) || !m_wndToolBar.LoadBitmap(IDB_MY_TOOLBAR) || !m_wndToolBar.SetButtons(buttons,3)) { TRACE0("Failed to create myToolBar\r\n"); return -1; } m_wndToolBar.SetSizes(CSize(37,36),CSize(30,30));
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)