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 » CExtControlBar with Dialog base app Collapse All
Subject Author Date
Anil Siddhpura Oct 18, 2010 - 2:26 AM

Hi,

I have a query regarding CExtControlBar.

Can I use or create dockable or fixed controlbar using CExtControlBar in a Dialog based MFC application? If not then what I have to do to create controlbar in a dialog based app?

I want to create just a fixed controlbar not dockable control bar.

Technical Support Oct 18, 2010 - 11:25 PM

You can create an MFC or Prof-UIS control bar only in a frame window. You can create a very simple frame window (without any control bars, a menu bar and a status bar). Then convert your current dialog into a child dialog type. Create your dialog as a child of your frame window. Change the dialog’s control identifier to AFX_IDW_PANE_FIRST (i.e. invoke the dialog’s SetDlgCtrlID() method). Finally you cna create any control bars in your main frame window.