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 » Toolbars and MDI Collapse All
Subject Author Date
Sergio Buonanno Aug 2, 2006 - 4:35 AM

My MDI application uses the MDI Tab control and several dialog windows as children of the MDI child windows. The MDI child windows contain a toolbar (see for example the editor window of Visual Studio 2005. It hosts a toolbar with 2 combo box controls). When I open an MDI child there is an annoying flickering due to the toolbar (of the opening MDI child window) that initially is displayed at the top of the MDI frame and then is moved to its right position just below the MDI tab control and on top of the MDI child (this is more evident when I open the first MDI child and the MDI tab control is not visible yet). I tried to hide the toolbar and to show it after the creation process, but in this case the toolbar is not painted at all or just partially and the MDI child window’s dialog is moved upward (it should fit the client area of the MDI child window less the space occupied by the toolbar, but it doesn’t leave anymore room for the toolbar that I‘ve hidden). What should I do to avoid that flickering ? It looks like it could be fixed (or partially fixed) if the MDI tab control can be displayed before the first MDI child window is created and displayed.

Technical Support Aug 2, 2006 - 12:54 PM

We believe there must be something wrong with toolbar/dialog initialization sequence. Could you send us a stripped version of your project which contains only the UI part?