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 » DockControlBarIntoTabbedContainer problem Collapse All
Subject Author Date
Jan Palka Feb 17, 2004 - 5:50 PM

Hello,


I want to have my three CExtControlBars initially in ’tabbed’ and docked state. So for two of them I replaced DockControlBar with DockControlBarIntoTabbedContainer in main frame’s OnCreate. It *almost* works. Problems:


1) ControlBars that are in floating state when closing the application forget their size.
2) When two ControlBars are docked & tabbed and the third (containing a TreeView control) is floating, this floating one is not redrawn properly after the application is launched. The tree view is visible for a very short moment and then the ControlBar is painted all grey.


I’ve also noticed that floating ControlBars don’t remember their position correctly. They are always restored with both coordinates decreased with a few pixels. And this is regardless of using DockControlBarIntoTabbedContainer.


You should be able to reproduce the described behavior with AppWizard generated app (Sigle document, everything else default).


Thank you


LP

Technical Support Feb 17, 2004 - 11:17 PM

Dear Jan,


To figure out what’s wrong with the control bars, please send us the source code of your CMainFrame window. We believe the problem may relate to incorrect inizialization of control bars or the code responsible for loading/saving their states.