делаю
| Код | bool LoadStandartToolBars(CMainWindow & wnd) { mp_toolbar_main->Create(&wnd, m_tb_flags); mp_toolbar_main->SetWindowText(L"Основная панель"); mp_toolbar_main->EnableDocking(CBRS_ALIGN_TOP); mp_toolbar_main->SetButtons(NULL, 8); wnd.DockControlBar(mp_toolbar_main); mp_toolbar_map->Create(&wnd, m_tb_flags); mp_toolbar_map->SetWindowText(L"Карты"); mp_toolbar_map->SetButtons(NULL, 8); mp_toolbar_map->EnableDocking(CBRS_ALIGN_TOP); wnd.DockControlBar(mp_toolbar_map); mp_toolbar_table->Create(&wnd, m_tb_flags); mp_toolbar_table->SetWindowText(L"Таблицы"); mp_toolbar_table->EnableDocking(CBRS_ALIGN_TOP); mp_toolbar_table->SetButtons(NULL, 8); wnd.DockControlBar(mp_toolbar_table);
return true; }
|
| Код | m_tb_flags = WS_CHILD | WS_VISIBLE | CBRS_TOP | CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_SIZE_DYNAMIC;
|
Создаются три панели, одна над другой
 Хочу, чтобы они были все в одну строку. Что-то я уже потерялся, куда копать? |