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 » Customizing local toolbars. Collapse All
Subject Author Date
David Skok Dec 13, 2006 - 1:01 PM

Is it possible to customize toolbars not associated with the mainframe? Toolbars that say might be located in a dialog or possibly in a controlbar. Are multiple command profiles for that purpose? If not what might be an application for multiple command profiles, I don’t understand the concept of multiple profiles.

Thanks,

Dave

Technical Support Dec 15, 2006 - 4:23 AM

Multiple command profiles allow you to have more than one docking site in the applications. For example, you may want to have dockable control bars in the MDI child frame (see the InnerOuterBars sample). This feature also makes it possible to have more than one menu bar in the application (see the ProfUIS Controls sample).

It is not clear for what reason you decided to make local toolbars customizable but here are some details. The customize site detects all the toolbars in the frame window in the CExtCustomizeSite::EnableCustomization() and invokes the CExtCustomizeSite::OnRegisterToolBar() virtual method method for registering each toolbar. You could invoke this method to register your custom toolbars in the customize site.