Dela via


CMFCVisualManagerOffice2003 Class

CMFCVisualManagerOffice2003 gives an application a Microsoft Office 2003 appearance.

class CMFCVisualManagerOffice2003 : public CMFCVisualManagerOfficeXP

Members

Public Methods

Name

Description

CMFCVisualManagerOffice2003::DrawComboBorderWinXP

  (Overrides CMFCVisualManager::DrawComboBorderWinXP.)

CMFCVisualManagerOffice2003::DrawComboDropButtonWinXP

(Overrides CMFCVisualManager::DrawComboDropButtonWinXP.)

CMFCVisualManagerOffice2003::DrawCustomizeButton

 

CMFCVisualManagerOffice2003::DrawPushButtonWinXP

(Overrides CMFCVisualManager::DrawPushButtonWinXP.)

CMFCVisualManagerOffice2003::GetBaseThemeColor

 

CMFCVisualManagerOffice2003::GetHighlightMenuItemColor

 

CMFCVisualManagerOffice2003::GetPropertyGridGroupColor

  (Overrides CMFCVisualManagerOfficeXP::GetPropertyGridGroupColor.)

CMFCVisualManagerOffice2003::GetPropertyGridGroupTextColor

  (Overrides CMFCVisualManagerOfficeXP::GetPropertyGridGroupTextColor.)

CMFCVisualManagerOffice2003::GetShowAllMenuItemsHeight

(Overrides CMFCVisualManager::GetShowAllMenuItemsHeight.)

CMFCVisualManagerOffice2003::GetSmartDockingBaseGuideColors

  (Overrides CMFCVisualManagerOfficeXP::GetSmartDockingBaseGuideColors.)

CMFCVisualManagerOffice2003::GetSmartDockingHighlightToneColor

(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

  (Overrides CMFCVisualManager::GetToolBarCustomizeButtonMargin.)

CMFCVisualManagerOffice2003::GetToolbarDisabledColor

  (Overrides CMFCVisualManager::GetToolbarDisabledColor.)

CMFCVisualManagerOffice2003::GetToolTipInfo

(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

  (Overrides CMFCVisualManager::IsHighlightOneNoteTabs.)

CMFCVisualManagerOffice2003::IsOffsetPressedButton

  (Overrides CMFCVisualManager::IsOffsetPressedButton.)

CMFCVisualManagerOffice2003::IsStatusBarOfficeXPLook

 

CMFCVisualManagerOffice2003::IsToolbarRoundShape

  (Overrides CMFCVisualManager::IsToolbarRoundShape.)

CMFCVisualManagerOffice2003::IsUseGlobalTheme

Indicates whether a global Windows XP theme is used.

CMFCVisualManagerOffice2003::IsWindowsThemingSupported

  (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

  (Overrides CMFCVisualManagerOfficeXP::OnDrawBarGripper.)

CMFCVisualManagerOffice2003::OnDrawBrowseButton

  (Overrides CMFCVisualManagerOfficeXP::OnDrawBrowseButton.)

CMFCVisualManagerOffice2003::OnDrawButtonBorder

  (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

(Overrides CMFCVisualManager::OnDrawCheckBoxEx.)

CMFCVisualManagerOffice2003::OnDrawComboBorder

  (Overrides CMFCVisualManagerOfficeXP::OnDrawComboBorder.)

CMFCVisualManagerOffice2003::OnDrawComboDropButton

  (Overrides CMFCVisualManagerOfficeXP::OnDrawComboDropButton.)

CMFCVisualManagerOffice2003::OnDrawControlBorder

(Overrides CMFCVisualManager::OnDrawControlBorder.)

CMFCVisualManagerOffice2003::OnDrawExpandingBox

(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

  (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

  (Overrides CMFCVisualManagerOfficeXP::OnDrawPaneBorder.)

CMFCVisualManagerOffice2003::OnDrawPaneCaption

  (Overrides CMFCVisualManagerOfficeXP::OnDrawPaneCaption.)

CMFCVisualManagerOffice2003::OnDrawPopupWindowBorder

  (Overrides CMFCVisualManagerOfficeXP::OnDrawPopupWindowBorder.)

CMFCVisualManagerOffice2003::OnDrawPopupWindowButtonBorder

  (Overrides CMFCVisualManagerOfficeXP::OnDrawPopupWindowButtonBorder.)

CMFCVisualManagerOffice2003::OnDrawPopupWindowCaption

  (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

  (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

  (Overrides CMFCVisualManagerOfficeXP::OnDrawRibbonStatusBarPane.)

CMFCVisualManagerOffice2003::OnDrawScrollButtons

  (Overrides CMFCVisualManagerOfficeXP::OnDrawScrollButtons.)

CMFCVisualManagerOffice2003::OnDrawSeparator

  (Overrides CMFCVisualManagerOfficeXP::OnDrawSeparator.)

CMFCVisualManagerOffice2003::OnDrawShowAllMenuItems

(Overrides CMFCVisualManager::OnDrawShowAllMenuItems.)

CMFCVisualManagerOffice2003::OnDrawStatusBarPaneBorder

  (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

  (Overrides CMFCVisualManagerOfficeXP::OnDrawTab.)

CMFCVisualManagerOffice2003::OnDrawTabsButtonBorder

  (Overrides CMFCVisualManagerOfficeXP::OnDrawTabsButtonBorder.)

CMFCVisualManagerOffice2003::OnDrawTask

  (Overrides CMFCVisualManagerOfficeXP::OnDrawTask.)

CMFCVisualManagerOffice2003::OnDrawTasksGroupAreaBorder

  (Overrides CMFCVisualManagerOfficeXP::OnDrawTasksGroupAreaBorder.)

CMFCVisualManagerOffice2003::OnDrawTasksGroupCaption

  (Overrides CMFCVisualManagerOfficeXP::OnDrawTasksGroupCaption.)

CMFCVisualManagerOffice2003::OnDrawTearOffCaption

  (Overrides CMFCVisualManagerOfficeXP::OnDrawTearOffCaption.)

CMFCVisualManagerOffice2003::OnErasePopupWindowButton

  (Overrides CMFCVisualManagerOfficeXP::OnErasePopupWindowButton.)

CMFCVisualManagerOffice2003::OnEraseTabsArea

  (Overrides CMFCVisualManagerOfficeXP::OnEraseTabsArea.)

CMFCVisualManagerOffice2003::OnEraseTabsButton

  (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

  (Overrides CMFCVisualManagerOfficeXP::OnFillBarBackground.)

CMFCVisualManagerOffice2003::OnFillButtonInterior

  (Overrides CMFCVisualManagerOfficeXP::OnFillButtonInterior.)

CMFCVisualManagerOffice2003::OnFillCommandsListBackground

  (Overrides CMFCVisualManagerOfficeXP::OnFillCommandsListBackground.)

CMFCVisualManagerOffice2003::OnFillHeaderCtrlBackground

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

CMFCVisualManagerOffice2003::OnFillHighlightedArea

  (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

  (Overrides CMFCVisualManagerOfficeXP::OnFillPopupWindowBackground.)

CMFCVisualManagerOffice2003::OnFillTab

  (Overrides CMFCVisualManagerOfficeXP::OnFillTab.)

CMFCVisualManagerOffice2003::OnFillTasksGroupInterior

  (Overrides CMFCVisualManagerOfficeXP::OnFillTasksGroupInterior.)

CMFCVisualManagerOffice2003::OnFillTasksPaneBackground

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

CMFCVisualManagerOffice2003::OnHighlightQuickCustomizeMenuButton

  (Overrides CMFCVisualManagerOfficeXP::OnHighlightQuickCustomizeMenuButton.)

CMFCVisualManagerOffice2003::OnHighlightRarelyUsedMenuItems

  (Overrides CMFCVisualManagerOfficeXP::OnHighlightRarelyUsedMenuItems.)

CMFCVisualManagerOffice2003::OnUpdateSystemColors

  (Overrides CMFCVisualManagerOfficeXP::OnUpdateSystemColors.)

CMFCVisualManagerOffice2003::SetDefaultWinXPColors

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

CMFCVisualManagerOffice2003::SetStatusBarOfficeXPLook

 

CMFCVisualManagerOffice2003::SetUseGlobalTheme

Specifies the Windows XP 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 DesktopAlertDemo Sample: MFC Desktop Alert Application.

    CMFCVisualManager::SetDefaultManager (RUNTIME_CLASS (CMFCVisualManagerOffice2003));

Inheritance Hierarchy

CObject

   CMFCBaseVisualManager

      CMFCVisualManager

         CMFCVisualManagerOfficeXP

            CMFCVisualManagerOffice2003

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCVisualManager Class

CMFCVisualManagerOfficeXP Class

CMFCVisualManagerWindows Class

CMFCVisualManager::SetDefaultManager

Other Resources

Classes (MFC Feature Pack)