hello, I have two guestions about CExtControlBar.
This is my codes below.
----------------------------------------------------------------------------------------------------------------------
A_Bar.DockControlBarInnerOuter( AFX_IDW_DOCKBAR_BOTTOM, true );
B_Bar.DockControlBarLTRB( 30, &Bar, AFX_IDW_DOCKBAR_LEFT);
----------------------------------------------------------------------------------------------------------------------
A dialog, B dialog are bottom of the main dialog and B dialog is left of A dialog.
I select the A, B dialog’s width using DockControlBarLTRB(), but not Height.
I want to resize A, B dialog’s heights. So I find this website, I found that response.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The CExtControlBar::SetInitDesiredSize...() methods allow you to set the desired size for any control bar when it is single in a row/column or it is floating. In this case, it cannot affect the size of any othet bar, hence the desired size can really be set.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1. How to I set the width size of two CExtControlBar dialog initially except for using SetInitDesiredSize...() method?
2. When control bar is floating, can I fix control bar’s size(width+height)? If you can, please tell me about solution.
Thanks.