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 » Wrong docking behaviour in 2.83 Beta Collapse All
Subject Author Date
Sebastian Leopold May 6, 2008 - 10:10 AM

Hello,

I think you have a wrong docking behaviour in Prof-UIS. I can reproduce this with all samples wich uses the autohide features.

I hope I can describe the problem:
I have two resizeable controlbars combined in on container like in visualstudio. No I close the container and both get closed. In Visualstudio only the current tab will be closed. Next is if I now show one of the tabs (bars) from the menu only the wanted bar get shown. But if I then say hide the bar the bar get grouped within the old groupd and all tabs are shown in the frames autohide area.

You can reproduce this in the Prof-Studio Sample App doing the following steps:

1. Open the Solution Explorer
2. Open the Class View
3. Integrate the Class View as a tab in the Solution Explorer.
4. Close the solution Explorer over the X of the Bar. (All Bars get closed -> In Visualstudio 2005 only the Solution Explorer gets closed)
5. Open the Solution Explorer
6. Hide the Bar with the Solutionexplorer (As you can see the Class View is now also visible in the autohide area)

Is this a bug or feature I don’t have understand ?

Please tell me what to do to fix that strange behaviour.

regards
Sebastian Leopold

Technical Support May 7, 2008 - 3:36 AM

There is a CExtControlBar::g_bCloseOnlyOneBarInTabGroup global property which you can set to true (by default it’s false) so when the Close ("X") button in the caption of a tabbed bar group is clicked, only the selected control bar is closed in this tab group. The grouped auto-hide tabs are currently not supporting hidden tabs for resizable control bars which were hidden before switching into auto-hide mode.