I want to dock CDialogBar to the top of window in the code, and after that how can I make it impossible to dock-undock it with the mouse when app is running?
It is placed at the top, as I wanted, but I can undock it with the mouse, and after that it can't dock to any side. How can I prevent it from being undocked?
And if I want to have several CControlBars in my Frame, and other ones I docked to the top, if I create DialogBar this way, it is always below docked one, how can I make it to be on the very top?
I describe the problem again:
I have several CControlBars. All of them must bu on the top of my frame. And first from the top must be CDialogBar, but that CDialogBar must be undockable. The other CControlBars I dock to the window with DockControlBar, and if I use DockControlBar to my CDialogBar control, it can be undocked with mouse, So the question is still the same - how can it be prevented to be undocked
Bookmarks