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 » Fixed Size, non-dockable floating CExtControlBar Collapse All
Subject Author Date
Gregor Jasny Nov 5, 2007 - 8:52 AM

Hi,

How do I restrict a CExtControlBar to be a floating, non-dockable and fixed-size window?
The parent window is a CExtNCW<CFrameWnd>, CExtDynamicBarSite which contains some other toolbars.

Thanks!
Gregor

Technical Support Nov 6, 2007 - 5:45 AM

We guess you need a control bar that behaves like a status bar. This window can be any type of window which handles the MFC’s WM_SIZEPARENT message. For instance, the CExtPropertyGridTipBar class implements a help tip window which acts like a control bar and takes up some space at the bottom of its parent window. You can see how the MFC’s WM_SIZEPARENT message is handled in the CExtPropertyGridTipBar::OnSizeParent() method. The CExtPropertyGridComboBoxBar class implements a combo box which is docked inside the property grid and takes up part of it at top. The property grid control acts and repositions its child windows exactly as the MFC’s frame window does. You can use any of its child controls as a ready-to-use window inside your main frame window. Please provide us with more details about your bar so we can help you.