Condividi tramite


CMFCVisualManagerOffice2003 Class

CMFCVisualManagerOffice2003 gives an application a Microsoft Office 2003 appearance.

class CMFCVisualManagerOffice2003 : public CMFCVisualManagerOfficeXP

Members

Public Methods

Name

Description

CMFCVisualManagerOffice2003::DrawComboBorderWinXP

Draws the combo box border using the current Windows XP theme. (Overrides CMFCVisualManager::DrawComboBorderWinXP.)

CMFCVisualManagerOffice2003::DrawComboDropButtonWinXP

Draws a combo box drop-down button using the current Windows XP theme. (Overrides CMFCVisualManager::DrawComboDropButtonWinXP.)

CMFCVisualManagerOffice2003::DrawCustomizeButton

Draws a customize button.

CMFCVisualManagerOffice2003::DrawPushButtonWinXP

Draws a push button using the current Windows XP theme. (Overrides CMFCVisualManager::DrawPushButtonWinXP.)

CMFCVisualManagerOffice2003::GetBaseThemeColor

Gets the base theme color.

CMFCVisualManagerOffice2003::GetHighlightMenuItemColor

Gets the color used for the highlighted menu item.

CMFCVisualManagerOffice2003::GetPropertyGridGroupColor

The framework calls this method to get the background color of a property list. (Overrides CMFCVisualManagerOfficeXP::GetPropertyGridGroupColor.)

CMFCVisualManagerOffice2003::GetPropertyGridGroupTextColor

The framework calls this method to retrieve the text color of a property list. (Overrides CMFCVisualManagerOfficeXP::GetPropertyGridGroupTextColor.)

CMFCVisualManagerOffice2003::GetShowAllMenuItemsHeight

Returns the height of all menu items. (Overrides CMFCVisualManager::GetShowAllMenuItemsHeight.)

CMFCVisualManagerOffice2003::GetSmartDockingBaseGuideColors

Sets the specified base group background color and border color. (Overrides CMFCVisualManagerOfficeXP::GetSmartDockingBaseGuideColors.)

CMFCVisualManagerOffice2003::GetSmartDockingHighlightToneColor

Gets the highlight tone color. (Overrides CMFCVisualManager::GetSmartDockingHighlightToneColor.)

CMFCVisualManagerOffice2003::GetTabFrameColors

The framework calls this function when it has to retrieve the set of colors for drawing a tab window. (Overrides CMFCVisualManager::GetTabFrameColors.)

CMFCVisualManagerOffice2003::GetToolBarCustomizeButtonMargin

Gets the margin of the toolbar Customize button. (Overrides CMFCVisualManager::GetToolBarCustomizeButtonMargin.)

CMFCVisualManagerOffice2003::GetToolbarDisabledColor

Gets the disabled color for the toolbar. (Overrides CMFCVisualManager::GetToolbarDisabledColor.)

CMFCVisualManagerOffice2003::GetToolTipInfo

Called by the framework to get tooltip information. (Overrides CMFCVisualManager::GetToolTipInfo.)

CMFCVisualManagerOffice2003::IsDefaultWinXPColorsEnabled

Indicates whether the visual manager uses native Windows XP theme colors.

CMFCVisualManagerOffice2003::IsDockingTabHasBorder

Returns whether the current visual manager draws borders around panes that are docked and tabbed. (Overrides CMFCVisualManager::IsDockingTabHasBorder.)

CMFCVisualManagerOffice2003::IsHighlightOneNoteTabs

Indicates whether OneNote tabs should be highlighted. (Overrides CMFCVisualManager::IsHighlightOneNoteTabs.)

CMFCVisualManagerOffice2003::IsOffsetPressedButton

Called by the framework when drawing a toolbar button. (Overrides CMFCVisualManager::IsOffsetPressedButton.)

CMFCVisualManagerOffice2003::IsStatusBarOfficeXPLook

Indicates whether there is a status bar with an Office XP look.

CMFCVisualManagerOffice2003::IsToolbarRoundShape

Indicates whether a specified toolbar has a round shape. (Overrides CMFCVisualManager::IsToolbarRoundShape.)

CMFCVisualManagerOffice2003::IsUseGlobalTheme

Indicates whether a global Windows XP theme is used.

CMFCVisualManagerOffice2003::IsWindowsThemingSupported

Indicates whether Windows theming is supported. (Overrides CMFCVisualManager::IsWindowsThemingSupported.)

CMFCVisualManagerOffice2003::OnDrawAutoHideButtonBorder

The framework calls this method when it draws the border of an auto-hide button. (Overrides CMFCVisualManager::OnDrawAutoHideButtonBorder.)

CMFCVisualManagerOffice2003::OnDrawBarGripper

Called by the framework when it draws the gripper for a control bar. (Overrides CMFCVisualManagerOfficeXP::OnDrawBarGripper.)

CMFCVisualManagerOffice2003::OnDrawBrowseButton

The framework calls this method when it draws the browse button for an edit control. (Overrides CMFCVisualManagerOfficeXP::OnDrawBrowseButton.)

CMFCVisualManagerOffice2003::OnDrawButtonBorder

The framework calls this method when it draws the border of a toolbar button. (Overrides CMFCVisualManagerOfficeXP::OnDrawButtonBorder.)

CMFCVisualManagerOffice2003::OnDrawCaptionBarBorder

The framework calls this method when it draws the border of a CMFCCaptionBar Class object. (Overrides CMFCVisualManager::OnDrawCaptionBarBorder.)

CMFCVisualManagerOffice2003::OnDrawCheckBoxEx

The framework calls this method when it draws a checkbox. (Overrides CMFCVisualManager::OnDrawCheckBoxEx.)

CMFCVisualManagerOffice2003::OnDrawComboBorder

The framework calls this method when it draws the border around a CMFCToolBarComboBoxButton Class object. (Overrides CMFCVisualManagerOfficeXP::OnDrawComboBorder.)

CMFCVisualManagerOffice2003::OnDrawComboDropButton

The framework calls this method when it draws the drop button of a CMFCToolBarComboBoxButton Class. (Overrides CMFCVisualManagerOfficeXP::OnDrawComboDropButton.)

CMFCVisualManagerOffice2003::OnDrawControlBorder

The framework calls this method when it draws the border of a control. (Overrides CMFCVisualManager::OnDrawControlBorder.)

CMFCVisualManagerOffice2003::OnDrawExpandingBox

The framework calls this method when it draws an expanding box. (Overrides CMFCVisualManager::OnDrawExpandingBox.)

CMFCVisualManagerOffice2003::OnDrawHeaderCtrlBorder

The framework calls this method when it draws the border around an instance of the CMFCHeaderCtrl Class. (Overrides CMFCVisualManager::OnDrawHeaderCtrlBorder.)

CMFCVisualManagerOffice2003::OnDrawMenuBorder

The framework calls this method when it draws the border of a CMFCPopupMenu Class. (Overrides CMFCVisualManagerOfficeXP::OnDrawMenuBorder.)

CMFCVisualManagerOffice2003::OnDrawOutlookBarSplitter

The framework calls this method when it draws the splitter for an Outlook bar. (OverridesCMFCVisualManager::OnDrawOutlookBarSplitter.)

CMFCVisualManagerOffice2003::OnDrawOutlookPageButtonBorder

Called by the framework when it draws the border of an Outlook page button. (Overrides CMFCVisualManager::OnDrawOutlookPageButtonBorder.)

CMFCVisualManagerOffice2003::OnDrawPaneBorder

The framework calls this method when it draws the border of a CPane Class object. (Overrides CMFCVisualManagerOfficeXP::OnDrawPaneBorder.)

CMFCVisualManagerOffice2003::OnDrawPaneCaption

The framework calls this method when it draws a caption for a CDockablePane Class object. (Overrides CMFCVisualManagerOfficeXP::OnDrawPaneCaption.)

CMFCVisualManagerOffice2003::OnDrawPopupWindowBorder

The framework calls this method when it draws the border of a popup window. (Overrides CMFCVisualManagerOfficeXP::OnDrawPopupWindowBorder.)

CMFCVisualManagerOffice2003::OnDrawPopupWindowButtonBorder

The framework calls this method when it draws the border of a button in a popup window. (Overrides CMFCVisualManagerOfficeXP::OnDrawPopupWindowButtonBorder.)

CMFCVisualManagerOffice2003::OnDrawPopupWindowCaption

The framework calls this method when it draws the caption of a popup window. (Overrides CMFCVisualManagerOfficeXP::OnDrawPopupWindowCaption.)

CMFCVisualManagerOffice2003::OnDrawRibbonButtonsGroup

The framework calls this method when it draws a group of buttons on the ribbon. (Overrides CMFCVisualManager::OnDrawRibbonButtonsGroup.)

CMFCVisualManagerOffice2003::OnDrawRibbonCategoryCaption

The framework calls this method when it draws the caption bar for a ribbon category. (Overrides CMFCVisualManager::OnDrawRibbonCategoryCaption.)

CMFCVisualManagerOffice2003::OnDrawRibbonCategoryTab

The framework calls this method when it draws the tab for a ribbon category. (Overrides CMFCVisualManager::OnDrawRibbonCategoryTab.)

CMFCVisualManagerOffice2003::OnDrawRibbonProgressBar

The framework calls this method when it draws a CMFCRibbonProgressBar Class. (Overrides CMFCVisualManager::OnDrawRibbonProgressBar.)

CMFCVisualManagerOffice2003::OnDrawRibbonQuickAccessToolBarSeparator

The framework calls this method when it draws a separator on the Quick Access Toolbar of a ribbon. (Overrides CMFCVisualManagerOfficeXP::OnDrawRibbonQuickAccessToolBarSeparator.)

CMFCVisualManagerOffice2003::OnDrawRibbonSliderChannel

The framework calls this method when it draws the channel of a CMFCRibbonSlider Class. (Overrides CMFCVisualManager::OnDrawRibbonSliderChannel.)

CMFCVisualManagerOffice2003::OnDrawRibbonSliderThumb

The framework calls this method when it draws the thumb of a CMFCRibbonSlider object. (Overrides CMFCVisualManager::OnDrawRibbonSliderThumb.)

CMFCVisualManagerOffice2003::OnDrawRibbonSliderZoomButton

The framework calls this method when it draws the zoom buttons for a CMFCRibbonSlider object. (Overrides CMFCVisualManager::OnDrawRibbonSliderZoomButton.)

CMFCVisualManagerOffice2003::OnDrawRibbonStatusBarPane

The framework calls this method when it draws a pane on the status bar. (Overrides CMFCVisualManagerOfficeXP::OnDrawRibbonStatusBarPane.)

CMFCVisualManagerOffice2003::OnDrawScrollButtons

The framework calls this method when it draws scroll buttons. (Overrides CMFCVisualManagerOfficeXP::OnDrawScrollButtons.)

CMFCVisualManagerOffice2003::OnDrawSeparator

The framework calls this method when it draws a separator. (Overrides CMFCVisualManagerOfficeXP::OnDrawSeparator.)

CMFCVisualManagerOffice2003::OnDrawShowAllMenuItems

The framework calls this method when it draws all the items in a menu. (Overrides CMFCVisualManager::OnDrawShowAllMenuItems.)

CMFCVisualManagerOffice2003::OnDrawStatusBarPaneBorder

The framework calls this method when it draws the border for a CMFCStatusBar Class object. (Overrides CMFCVisualManagerOfficeXP::OnDrawStatusBarPaneBorder.)

CMFCVisualManagerOffice2003::OnDrawStatusBarProgress

The framework calls this method when it draws the progress indicator on the CMFCStatusBar object. (Overrides CMFCVisualManager::OnDrawStatusBarProgress.)

CMFCVisualManagerOffice2003::OnDrawStatusBarSizeBox

The framework calls this method when it draws the size box for a CMFCStatusBar. (Overrides CMFCVisualManager::OnDrawStatusBarSizeBox.)

CMFCVisualManagerOffice2003::OnDrawTab

The framework calls this method when it draws the tabs for a CMFCBaseTabCtrl Class object. (Overrides CMFCVisualManagerOfficeXP::OnDrawTab.)

CMFCVisualManagerOffice2003::OnDrawTabsButtonBorder

The framework calls this method when it draws the border of a tab button. (Overrides CMFCVisualManagerOfficeXP::OnDrawTabsButtonBorder.)

CMFCVisualManagerOffice2003::OnDrawTask

The framework calls this method when it draws a CMFCTasksPaneTask Class object. (Overrides CMFCVisualManagerOfficeXP::OnDrawTask.)

CMFCVisualManagerOffice2003::OnDrawTasksGroupAreaBorder

The framework calls this method when it draws a border around a group on a CMFCTasksPane Class object. (Overrides CMFCVisualManagerOfficeXP::OnDrawTasksGroupAreaBorder.)

CMFCVisualManagerOffice2003::OnDrawTasksGroupCaption

The framework calls this method when it draws the caption for a CMFCTasksPaneTaskGroup Class object. (Overrides CMFCVisualManagerOfficeXP::OnDrawTasksGroupCaption.)

CMFCVisualManagerOffice2003::OnDrawTearOffCaption

The framework calls this method when it draws the caption for a CMFCPopupMenu Class object. (Overrides CMFCVisualManagerOfficeXP::OnDrawTearOffCaption.)

CMFCVisualManagerOffice2003::OnErasePopupWindowButton

The framework calls this method when it erases a button in a popup window. (Overrides CMFCVisualManagerOfficeXP::OnErasePopupWindowButton.)

CMFCVisualManagerOffice2003::OnEraseTabsArea

The framework calls this method when it erases the tab area of a tab window. (Overrides CMFCVisualManagerOfficeXP::OnEraseTabsArea.)

CMFCVisualManagerOffice2003::OnEraseTabsButton

The framework calls this method when it erases the text and icon of a tab button. (Overrides CMFCVisualManagerOfficeXP::OnEraseTabsButton.)

CMFCVisualManagerOffice2003::OnEraseTabsFrame

The framework calls this method when it erases a frame on a CMFCBaseTabCtrl Class. (Overrides CMFCVisualManager::OnEraseTabsFrame.)

CMFCVisualManagerOffice2003::OnFillAutoHideButtonBackground

The framework calls this method when it fills the background of an auto-hide button. (Overrides CMFCVisualManager::OnFillAutoHideButtonBackground.)

CMFCVisualManagerOffice2003::OnFillBarBackground

The framework calls this method when it fills the background of a CBasePane Class object. (Overrides CMFCVisualManagerOfficeXP::OnFillBarBackground.)

CMFCVisualManagerOffice2003::OnFillButtonInterior

The framework calls this method when it fills the background of a toolbar button. (Overrides CMFCVisualManagerOfficeXP::OnFillButtonInterior.)

CMFCVisualManagerOffice2003::OnFillCommandsListBackground

The framework calls this method when it fills the background of a toolbar button that belongs to a command list. (Overrides CMFCVisualManagerOfficeXP::OnFillCommandsListBackground.)

CMFCVisualManagerOffice2003::OnFillHeaderCtrlBackground

The framework calls this method when it fills the background of a header control. (Overrides CMFCVisualManager::OnFillHeaderCtrlBackground.)

CMFCVisualManagerOffice2003::OnFillHighlightedArea

The framework calls this method when it fills the highlighted area of a toolbar button. (Overrides CMFCVisualManagerOfficeXP::OnFillHighlightedArea.)

CMFCVisualManagerOffice2003::OnFillOutlookBarCaption

The framework calls this method when it fills the background of an Outlook caption bar. (Overrides CMFCVisualManager::OnFillOutlookBarCaption.)

CMFCVisualManagerOffice2003::OnFillOutlookPageButton

The framework calls this method when it fills the interior of an Outlook page button. (Overrides CMFCVisualManager::OnFillOutlookPageButton.)

CMFCVisualManagerOffice2003::OnFillPopupWindowBackground

The framework calls this method when it fills the background of a pop-up window. (Overrides CMFCVisualManagerOfficeXP::OnFillPopupWindowBackground.)

CMFCVisualManagerOffice2003::OnFillTab

The framework calls this method when it fills the background of a tab window. (Overrides CMFCVisualManagerOfficeXP::OnFillTab.)

CMFCVisualManagerOffice2003::OnFillTasksGroupInterior

The framework calls this method when it fills the interior of a CMFCTasksPaneTaskGroup Class object. (Overrides CMFCVisualManagerOfficeXP::OnFillTasksGroupInterior.)

CMFCVisualManagerOffice2003::OnFillTasksPaneBackground

The framework calls this method when it fills the background of a CMFCTasksPane control. (Overrides CMFCVisualManager::OnFillTasksPaneBackground.)

CMFCVisualManagerOffice2003::OnHighlightQuickCustomizeMenuButton

The framework calls this method when it draws a highlighted quick-customize menu button. (Overrides CMFCVisualManagerOfficeXP::OnHighlightQuickCustomizeMenuButton.)

CMFCVisualManagerOffice2003::OnHighlightRarelyUsedMenuItems

The framework calls this method when it draws a highlighted menu command. (Overrides CMFCVisualManagerOfficeXP::OnHighlightRarelyUsedMenuItems.)

CMFCVisualManagerOffice2003::OnUpdateSystemColors

The framework calls this function when the system colors change. (Overrides CMFCVisualManagerOfficeXP::OnUpdateSystemColors.)

CMFCVisualManagerOffice2003::SetDefaultWinXPColors

Specifies whether the visual manager should use native Windows XP theme colors or colors obtained from GetSysColor.

CMFCVisualManagerOffice2003::SetStatusBarOfficeXPLook

Specifies that the Windows XP global theme should be used.

CMFCVisualManagerOffice2003::SetUseGlobalTheme

Specifies whether the visual manager uses a global theme.

Remarks

You use the CMFCVisualManagerOffice2003 class to change the visual appearance of your application to resemble Microsoft Office 2003.

Example

The following example demonstrates how to set the office 2003 visual manager. This code snippet is part of the Desktop Alert Demo sample.

    CMFCVisualManager::SetDefaultManager (RUNTIME_CLASS (CMFCVisualManagerOffice2003));

Inheritance Hierarchy

CObject

   CMFCBaseVisualManager

      CMFCVisualManager

         CMFCVisualManagerOfficeXP

            CMFCVisualManagerOffice2003

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

Hierarchy Chart

CMFCVisualManager Class

CMFCVisualManagerOfficeXP Class

CMFCVisualManagerWindows Class

CMFCVisualManager::SetDefaultManager

Other Resources

MFC Classes