CustomControlBar - Registry Values

We are using custom controlbars, which should be displayed automatically on startup... In the registry the state is stored under (in BricsCAD) under {profile}\ControlBars{GUID}. Which entry shows if the bars is docked left, right, top or down ? Is it the "Orientation" (floating 4294967295, left 59420 (), right: 59421 etc. ?

If we set the palette visible, it will be always displayd with the default-values, so I will read the registry to set correct values...!

Comments

  • If you're subclassing CAdUiDockControlBar, you may be able to call CAdUiDockControlBar::RestoreControlBar. The orientation should be one of

    AFX_IDW_DOCKBAR_TOP
    AFX_IDW_DOCKBAR_LEFT
    AFX_IDW_DOCKBAR_RIGHT
    AFX_IDW_DOCKBAR_BOTTOM
    AFX_IDW_DOCKBAR_FLOAT