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 » Minimum size for floating control bar Collapse All
Subject Author Date
Gevork Odabashyan Sep 10, 2004 - 7:50 AM

Hello...


I have floating-only CExtControlBar (EnableDocking(0)). Can I somehow set minimum size for it?


Than You, Ruslan

Technical Support Sep 15, 2004 - 8:46 AM

Dear Ruslan,

The floating control bars are contained in temporarily created mini-frame windows, which are implemented as CExtMiniDockFrameWnd extending the standard MFC’s CMiniDockFrameWnd class. In case of simple floating control bars like the toolbar or panel, it is not difficult to control the minimum/maximum size. But resizable bars can be docked inside complex floating containers with more than one control bar kept inside a single floating mini frame window. These containers may be organized into several rows and/or columns with several bars or tab bar groups inside. Due to this complexity of the floating bar layouts, we decided to leave the resizable bar component as a fully resizable component without any limit for its minimal size. This design should not bring any inconvenience for the users of your application since they may use the floating bars of any size.

Of course, it is not difficult to limit the minimal size of resizable bar if it is single inside the floating mini frame window. In other cases we would have to add some significant changes to the Prof-UIS source code.