Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS Tech Support » Cannot dock and cannot be docked Collapse All
Subject Author Date
Chun Pong Lau Oct 11, 2006 - 1:32 AM

Dear support team,

Your docking mechanism is very nice. However, in some cases, I would like to have some CExtDynamicControlBar to be

1) undockable
2) unable to be docked inside by another bar

Can you please advise?

Thanks in advance,
Alan

Technical Support Oct 11, 2006 - 12:46 PM

You can override the CExtControlBar::FloatControlBar() virtual method and not invoke the parent class method in it to prevent switching of the control bar into the floating state. You can override the CExtControlBar::_CanDockToTabbedContainers() virtual method to prevent docking of one control bar into the tabbed container with particular other bar. You can override the CExtControlBar::_CanDockLTRB() virtual method to prevent docking of one control bar with another bar.