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 General Discussion » CExtControlBar dockability and "Visual Studio 2005" UI theme. Collapse All
Subject Author Date
JALADY Christophe Mar 14, 2006 - 7:27 AM

I have a DockView (a CExtControlBar).
I use "EnableDocking( 0 );" to disable the ability to be docked.
This work perfectly with the UI theme "MS Office 2003".

But this does not work with the UI theme "Visual Studio 2005". With this theme, my DockView (whithout dockable ability) is dockable with the help of the "blue arrow" (sorry, I don’t remember how you name that).

I try it on your own sources example.
I use MSVC6 and a French Windows XP systeme (without SP).

Have you an issue ?

Technical Support Mar 14, 2006 - 10:10 AM

We have never checked the CExtControlBar when it is in the non-redockable mode. This class implements a Visual Studio .NET/2005-like dockable resizable panel. We have no idea in which way this panel may be disabled for redocking. But you can disable redocking for CExtControlBar-derived classes like CExtToolControlBar. If you do invoke toolbar’s EnableDocking() method, then the toolbar will be statically docked with a side of the main frame window (the status bar is an example of this approach). Please tell us more about what the non-redockable resizable control bar is from your point of view?