Fixed toolbars in SDI app
Managed C++/CLI
3
Posts
2
Posters
0
Views
1
Watching
-
Hi, I have a SDI app to which I need to add a second fixed toolbar positioned to the right of the first one. Does anyone know how to do this? Thanks for any help, Royce
Try this :
RecalcLayout();
CRect rect;
m_wndToolBar.GetWindowRect(&rect);
rect.left++;
DockControlBar(&m_wndToolBar2,AFX_IDW_DOCKBAR_TOP,rect); -
Try this :
RecalcLayout();
CRect rect;
m_wndToolBar.GetWindowRect(&rect);
rect.left++;
DockControlBar(&m_wndToolBar2,AFX_IDW_DOCKBAR_TOP,rect);