Hi,
I have a toolbar created as follows.
It has no gripper and shows only the buttons.Code:if (!m_wndDynamicRuntimeToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | CBRS_TOP | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC | WS_DLGFRAME, CRect(0, 0, 0, 0), IDR_DYNAMICRUNTIMETOOLBAR) || !m_wndDynamicRuntimeToolBar.LoadToolBar(IDR_DYNAMICRUNTIMETOOLBAR)) { TRACE0("Failed to create toolbar\n"); return -1; // fail to create } m_wndDynamicRuntimeToolBar.EnableDocking(0);
The problem is that when you move the mouse on the edges of the toolbar you have the possibility to resize the toolbar.
Does someone know how to prevent the user to be able to resize the toolbar?
Thanks a lot!




Reply With Quote