|
|
|
|
Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
tera t
|
Jun 10, 2008 - 8:37 PM
|
Hello. In the following ratios, I want to build a docking bar. I do not work with DockControlBarLTRB definitely either.
In present CExtControlBar, is it unrealizable?

m_pMadoriBar->DockControlBar(AFX_IDW_DOCKBAR_RIGHT, 1, pFrame );
m_pMadoriBar->DockControlBarIntoTabbedContainer(
SMART(m_pKouzouBar) , 0 , NULL , false
);
m_pInfoZaiBar->DockControlBarLTRB(
60 ,
SMART(m_pMadoriBar) ,
AFX_IDW_DOCKBAR_BOTTOM ,
true
);
|
|
Technical Support
|
Jun 11, 2008 - 1:49 PM
|
You have docked the first two bars into a tabbed container: m_pMadoriBar->DockControlBar(AFX_IDW_DOCKBAR_RIGHT, 1, pFrame );
m_pMadoriBar->DockControlBarIntoTabbedContainer(
SMART(m_pKouzouBar) , 0 , NULL , false
); They will occupy the entire column of bars. But you should invoke the frame’s RecalcLayout() method before docking the third bar: RecalcLayout(); This invocation will place all the already docked bars to their desired positions.
Now you can dock the third bar: m_pInfoZaiBar->DockControlBarLTRB(
60,
SMART(m_pMadoriBar),
AFX_IDW_DOCKBAR_BOTTOM,
true
);
|
|
tera t
|
Jun 11, 2008 - 11:25 PM
|
|
|