Professional UI Solutions
Site Map   /  Register


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 » Bug when docking to the bottom. Collapse All
Subject Author Date
Kevin Murray Apr 11, 2011 - 3:55 PM

Can be reproduced in sample application MDI_DynamicInnerOuterBars-m.exe.

Remove all docked windows from the bottom edge of the application.

Drag a window to the dock marker at the bottom edge of the application (not the inner marker, the standalone bottom marker).

It will size itself to half the height of the entire window.  Size it down to something more reasonable.

Drag another window to the same dock marker.  It will size itself to the entire client area of the window.  As you size it down you will see the other docked window appear again.  But, if you don’t size it, it will simply take over the whole window, obscuring everything else.


Technical Support Apr 13, 2011 - 2:19 AM

The size of a control bar you drop into the top or bottom frame side is determined by one of the following:

1) The CExtControlBar::SetInitDesiredSizeHorizontal()<> API. This is used initially.

2) The control bar height when it last time was docked at top or bottom or inside a complex floating palette.

The summary bar heights and/or widths can overflow the available space inside frame’s client area. You can only decrease bar heights and/or widths one by one or you can let Prof-UIS to do this. The <code>CExtControlBar::stat_CompressFrameLayout()
method allows you to compress visible control bar sizes and make required free space at the center of the frame’s client area.