BCGControlBar Pro for MFC
CBCGPToolbarCustomize

Detailed Description

The CBCGPToolbarCustomize object represents a modeless tab dialog box (property sheet) that allows the user full customization of application toolbars, menus, keyboard, mouse, user-defined tools and provides some additional options for managing the application look and feel.

The customization dialog is very simple to invoke. All that you need is just to create a CBCGPToolbarCustomize object dynamically and call the CBCGPToolbarCustomize::Create member function.

When the dialog is invoked, the application works in the special "customize" mode that restricts the user input only to customization commands.

+ Inheritance diagram for CBCGPToolbarCustomize:

Public Member Functions

 CBCGPToolbarCustomizeConstructor.
 
 AddButtonCall this function to insert a toolbar button to the list box of commands on the "Command" page.
 
 AddButtonCall this function to insert a toolbar button to the list box of commands on the "Command" page.
 
 AddMenuLoads a menu from the resources and adds the menu commands to the list box of commands on the "Commands" page.
 
 AddMenuCommandsAdds a menu commands to the list box of commands on the "Commands" page.
 
 AddToolBarLoads a toolbar from the resources and adds its commands to the list box of commands on the "Commands" page.
 
 AddToolBarLoads a toolbar from the resources and adds its commands to the list box of commands on the "Commands" page.
 
 CreateDisplays a modeless customization dialog.
 
 EnableUserDefinedToolbarsEnables and disables the user to create new toolbars.
 
 GetFlagsReturns customization flags.
 
 OnEditToolbarMenuImageCalled by the framework when the user runs the image editor.
 
 RemoveButtonRemoves a toolbar button from the list box of commands on the "Commands" page.
 
 RemoveButtonRemoves a toolbar button from the list box of commands on the "Commands" page.
 
 RenameCategoryRenames a category in the list box of categories on the "Commands" page.
 
 ReplaceButtonReplaces a toolbar button in the list box of commands on the "Commands" page.
 
 SetUserCategoryAdds category to the list box of categories on the "Commands" page.
 
- Public Member Functions inherited from CBCGPPropertySheet
 CBCGPPropertySheetConstructs a CBCGPPropertySheet object.
 
 CBCGPPropertySheetConstructs a CBCGPPropertySheet object.
 
 AddCustomCaptionButtonAdds a custom caption button.
 
 AddGroupAdds a list group.
 
 AddPageAdds a page to the property sheet.
 
 AddPageToTreeAdds a new property page to the tree navigation control.
 
 AddTreeCategoryAdds a new category to the tree navigation control.
 
 EnableCustomCaptionButtonEnables or disables a custom caption button.
 
 EnableDragClientAreaAllows to drag the window by clicking inside the client area.
 
 EnableLayoutEnables or disables layout manager for a property sheet.
 
 EnableLoadWindowPlacementEnables loading/saving window placement from/to the registry.
 
 EnablePageHeaderReserves space at the top of each page to draw a custom header.
 
 EnablePageSwipeGestureEnables or disable a property page swipe gesture.
 
 EnablePageTransitionEffectEnables the page transition effect.
 
 EnableTabsScrollingEnables the tabs scrolling.
 
 EnableVisualManagerStyleEnables/disables property sheet visual theme
 
 GetHeaderHeightReturns current header height.
 
 GetLayoutReturns a pointer to layout manager.
 
 GetLookGets the property sheet look.
 
 IsAutoPrepareComboListStylesTells whether all child list box and combo boxes should be recreated by adding "owner-draw fixed" and "has strings" Windows styles.
 
 IsControlsDefaultDlgBackgroundTells whether controls background redrawing is optimized.
 
 IsCustomCaptionButtonEnabledTells whether a custom caption button is enabled.
 
 IsDragClientAreaEnabledTells whether a drag client area is enabled.
 
 IsLayoutEnabledTells whether layout management is enabled for a property sheet.
 
 IsMFCResourceLayoutTells whether the dialog uses MFC resource (loaded from the dialog resource) layout.
 
 IsPageSwipeGestureEnabledTells whether property page swipe gesture is enabled.
 
 IsPageTransitionAvailableTells whether a page transition is available.
 
 IsPageTransitionReversedOrderCalled by the framework when page transition direction is needed.
 
 IsVisualManagerNCAreaTells whether a non-client area of the window uses visual manager style.
 
 IsVisualManagerStyleTells whether a window uses visual manager style.
 
 IsWsCaptionStyleTells whether a window with themed non-client area is created with WS_CAPTION style.
 
 OnDrawPageHeaderCalled by the framework to draw custom property page header.
 
 OnDrawPageNotificationBadgeCalled by the framework to draw custom notification badge associated with a property page.
 
 OnGetPageNotificationBadgeSizeCalled by the framework to retrive a size of custom notification badge associated with a property page.
 
 OnRemoveTreePageCalled by the framework when a page is being removed from the navigation tree.
 
 RemoveAllCustomCaptionButtonsRemoves all custom caption buttons.
 
 RemoveCategoryRemoves a category from the tree navigation control.
 
 RemovePageRemoves a page from the property sheet.
 
 RemovePageRemoves a page from the property sheet.
 
 RenamePageRenames a page.
 
 RenamePageRenames a page.
 
 SetActivePageWithEffectsCall this method to activate a property page with a default transition effect (specified by EnablePageTransitionEffect method).
 
 SetControlsDefaultDlgBackgroundEnables/disables child controls background optimized redrawing.
 
 SetIconsListSets the list of images to be used in the embedded outlook bar.
 
 SetIconsListSets the list of images to be used in the embedded outlook bar.
 
 SetLookSets the look (style) of the property sheet.
 
- Public Member Functions inherited from CBCGPPageTransitionManager
 GetAnimationOptionsGets a page transition animation options.
 
 GetAnimationTypeGets a page transition animation type.
 
 GetPageTransitionEffectGets a page transition effect.
 
 SetPageTransitionEffectSpecifies a page transition effect.
 
 StartPageTransitionStarts the page transition for the array of pages.
 
 StartPageTransitionStarts 2-page transition.
 
 StopPageTransitionStops the page transition.
 
- Public Member Functions inherited from CBCGPAnimationManager
 CBCGPAnimationManagerDefault constructor.
 
 GetAnimatedValueGets current animated value.
 
 GetAnimationDurationGets animation duration.
 
 GetLastAnimationErrorGets the animation error returned by recent call to Windows Animation API.
 
 IsAnimatedChecks if animation is running.
 
 StartAnimationStarts an animation.
 
 StartFlashAnimationStarts "flash" animation.
 
 StopAnimationStops an animation.
 

Protected Member Functions

 CheckToolsValidityCalled by the framework to determine whether the list user-defined tools is valid.
 
 OnAfterChangeToolCalled by the framework when the properties of a user-defined tool has been changed.
 
 OnAssignKeyCalled by the framework when a new accelerator key is being assigned.
 
 OnBeforeChangeToolCalled by the framework when the properties of a user-defined tool is about to change.
 
 OnInitToolsPageCalled by the framework when the "Tools" page is about to be initialized.
 
- Protected Member Functions inherited from CBCGPAnimationManager
 OnAnimationIdleCalled by the framework in an animation idle time.
 

Additional Inherited Members

- Public Types inherited from CBCGPPageTransitionManager
enum  BCGPPageTransitionEffect
 
- Public Types inherited from CBCGPAnimationManager
enum  BCGPAnimationType
 
- Static Public Member Functions inherited from CBCGPAnimationManager
 IsAnimationSupportedByOSChecks if animation is supported by OS.