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 » Problem in using CExtControlBar Collapse All
Subject Author Date
Naveen P Oct 14, 2006 - 3:18 AM

Hello,
I am using Prof-UI’s V2.54 to build MDI Application with FormView using VC++.Net.

Environment:
Application’s is having sevral FormView within which various MFC Controls (Button, Combo box, list box, tree control & Etc) are placed. For each ChildFrame (FormView) is having different Docking Control bar (CExtControlBar). So that when ever user switch between FormView windows, only those respective Docking control bar should be visible in the Screen.

Problem:
In order to bring Docking Control bar in the respective FormView windows, Docking control bar are created & displayed in the Child view instead of MainFrame. Problem we are facing is that, Whenever mouse cursor is brought to Docking window, docked window will popup but the controls in the FormView (which is in background) is also displayed along with the popup window. How do we overcome this problem?

Thanks & Regards,
Naveen P.

Technical Support Oct 17, 2006 - 11:25 AM

Using floating control bars inside MDI child frame windows is not the best design. Of course, you can walk trough the CFrameWnd::m_listControlBars list, which contains pointers to all control bars in the frame window, and hide all floating bars of the MDI child frame window when it gets deactivated. But the best solution is to use one control bar in the main frame window and renew its contents when the active MDI child frame window is switched.