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 » Questions about dockable control bars. Collapse All
Subject Author Date
Ken Knapton Nov 30, 2004 - 5:40 PM

Sorry about that last post, i don’t know what happened to the rest of my message.  Anyways,  I was wondering if there was a control in the prof-uis library that would act as a static docksite for floating windows, similar to CExtControlBar windows that tab inside each other.  In the application I am developing, i wish to have a control as the main view that is simply a place to tab windows that will either be floating on the desktop, or tabbed in that view.  Is there such support in prof-uis?  Any help would be appreciated,


Thank you

Technical Support Dec 1, 2004 - 10:54 AM

Typically the frame window-based application contains a set of toolbars and resizable control bars that are floating or docked to frame edges. The central part of the frame window is occupied with the view window in case of SDI applications or with the MDI client area window in case of MDI applications. So, the frame window usually is a pop-up window and all other windows inside the frame are its child windows (the windows inside resizable control bars, toolbar buttons, dialog bars, view windows, status bar panes, and etc.). Of course, you can create the frame window as a child. For instance, you may create the child frame inside the central part of the main frame window (i.e., to replace the view window with the child frame). You may also create the frame window as a child of a resizable control bar that, in its turn, is a child of the main frame window. All these tricks are absolutely possible and limited only by imagination. There is no ready-to-use child frame control in Prof-UIS because we suppose the child frame is not of much use. But it can be used in some cases, for example as an ActiveX control with the dockable control bars. In almost all other cases, it’s not a good idea to deal with the child frame window.

If you only need tabs in the view area of your SDI project, you may use tab page container control similar to that used in the SimpleGrids sample application. If some tabs should be detachable, then it may be reasonable to put these pages into the resizable panels. Anyway, if you provide us with more details on the requirements to the GUI design you need (either by e-mail or here), we will advice you on how to do this in the most appropriate way.

Ken Knapton Dec 3, 2004 - 11:38 AM

A layout like the SimpleGrids sample application is exactly what I’m looking for.  The only difference being that as well as having the views tabbed in the main view, i’d like to be able to float them and dock them again in the tabbed view  (using a dragging mechanism preferably).  I’d use resizable panels, but i’d like for the main view to always be the tabbed view.  I’ve thought about simply implemented a menu feature or something to the same effect to "detach" the window from the tabbed views, and by doing so, throwing it into a CExtControlBar at runtime in a floating position, but that seemed like more of a workaround than a solution.


Any more suggestions?

Technical Support Dec 4, 2004 - 10:41 AM

Now it is completely clear what you need. Currently Prof-UIS supports detachable tabs only for resizable control bar windows. The tabs in main views may be implemented either by means of the MDI interface or by using the tab page container as a view window in case of the SDI interface. But in both cases these tab containers does not support the tab detaching to make the corresponding windows floating. This feature is in our TO-DO list.

Ken Knapton Dec 7, 2004 - 2:06 PM

That is great, I look forward to the time when that feature is implemented.  I am interested to know if this feature has a possibility of being implemented by June-July 2005?

Technical Support Dec 8, 2004 - 2:12 AM

To implement the detachable tab views is not extremely difficult if the MFC document/view architecture is not used. We need some time to analyze how to do this in the most appropriate way. But hope that you will get this feature much earlier than June 2005.