Dela via


CMFCVisualManagerOffice2007 Class

CMFCVisualManagerOffice2007 gives an application a Microsoft Office 2007 appearance.

class CMFCVisualManagerOffice2007 : public CMFCVisualManagerOffice2003

Members

Public Methods

Name

Description

CMFCVisualManagerOffice2007::AlwaysHighlight3DTabs

 

CMFCVisualManagerOffice2007::CleanStyle

 

CMFCVisualManagerOffice2007::GetCaptionBarTextColor

 

CMFCVisualManagerOffice2007::GetHighlightedMenuItemTextColor

 

CMFCVisualManagerOffice2007::GetMenuItemTextColor

 

CMFCVisualManagerOffice2007::GetNcBtnSize

 

CMFCVisualManagerOffice2007::GetRibbonBar

 

CMFCVisualManagerOffice2007::GetRibbonHyperlinkTextColor

 

CMFCVisualManagerOffice2007::GetRibbonPopupBorderSize

 

CMFCVisualManagerOffice2007::GetRibbonQuickAccessToolBarChevronOffset

 

CMFCVisualManagerOffice2007::GetRibbonQuickAccessToolBarRightMargin

 

CMFCVisualManagerOffice2007::GetRibbonQuickAccessToolBarTextColor

 

CMFCVisualManagerOffice2007::GetRibbonStatusBarTextColor

 

CMFCVisualManagerOffice2007::GetShowAllMenuItemsHeight

 

CMFCVisualManagerOffice2007::GetStatusBarPaneTextColor

 

CMFCVisualManagerOffice2007::GetStyle

Returns the current color scheme of the CMFCVisualManagerOffice2007 GUI which, in turn, mimics the Microsoft Office 2007 GUI.

CMFCVisualManagerOffice2007::GetTabFrameColors

 

CMFCVisualManagerOffice2007::GetTabHorzMargin

 

CMFCVisualManagerOffice2007::GetTabTextColor

 

CMFCVisualManagerOffice2007::GetToolbarButtonTextColor

 

CMFCVisualManagerOffice2007::GetToolbarDisabledTextColor

 

CMFCVisualManagerOffice2007::GetToolTipInfo

 

CMFCVisualManagerOffice2007::IsHighlightWholeMenuItem

 

CMFCVisualManagerOffice2007::IsLayeredRibbonKeyTip

 

CMFCVisualManagerOffice2007::IsOwnerDrawCaption

 

CMFCVisualManagerOffice2007::IsOwnerDrawMenuCheck

 

CMFCVisualManagerOffice2007::IsRibbonPresent

 

CMFCVisualManagerOffice2007::OnDrawBarGripper

 

CMFCVisualManagerOffice2007::OnDrawButtonBorder

 

CMFCVisualManagerOffice2007::OnDrawButtonSeparator

 

CMFCVisualManagerOffice2007::OnDrawCaptionBarInfoArea

 

CMFCVisualManagerOffice2007::OnDrawCheckBoxEx

 

CMFCVisualManagerOffice2007::OnDrawComboBorder

 

CMFCVisualManagerOffice2007::OnDrawComboDropButton

 

CMFCVisualManagerOffice2007::OnDrawDefaultRibbonImage

 

CMFCVisualManagerOffice2007::OnDrawEditBorder

 

CMFCVisualManagerOffice2007::OnDrawFloatingToolbarBorder

 

CMFCVisualManagerOffice2007::OnDrawHeaderCtrlBorder

 

CMFCVisualManagerOffice2007::OnDrawMenuBorder

 

CMFCVisualManagerOffice2007::OnDrawMenuCheck

 

CMFCVisualManagerOffice2007::OnDrawMenuItemButton

 

CMFCVisualManagerOffice2007::OnDrawMenuLabel

 

CMFCVisualManagerOffice2007::OnDrawMenuResizeBar

 

CMFCVisualManagerOffice2007::OnDrawMenuScrollButton

 

CMFCVisualManagerOffice2007::OnDrawMenuSystemButton

 

CMFCVisualManagerOffice2007::OnDrawMiniFrameBorder

 

CMFCVisualManagerOffice2007::OnDrawOutlookBarSplitter

 

CMFCVisualManagerOffice2007::OnDrawOutlookPageButtonBorder

 

CMFCVisualManagerOffice2007::OnDrawPaneCaption

 

CMFCVisualManagerOffice2007::OnDrawPopupWindowCaption

 

CMFCVisualManagerOffice2007::OnDrawPropertySheetListItem

 

CMFCVisualManagerOffice2007::OnDrawRibbonApplicationButton

 

CMFCVisualManagerOffice2007::OnDrawRibbonButtonBorder

 

CMFCVisualManagerOffice2007::OnDrawRibbonButtonsGroup

 

CMFCVisualManagerOffice2007::OnDrawRibbonCaption

 

CMFCVisualManagerOffice2007::OnDrawRibbonCaptionButton

 

CMFCVisualManagerOffice2007::OnDrawRibbonCategory

 

CMFCVisualManagerOffice2007::OnDrawRibbonCategoryCaption

 

CMFCVisualManagerOffice2007::OnDrawRibbonCategoryScroll

 

CMFCVisualManagerOffice2007::OnDrawRibbonCategoryTab

 

CMFCVisualManagerOffice2007::OnDrawRibbonCheckBoxOnList

 

CMFCVisualManagerOffice2007::OnDrawRibbonDefaultPaneButton

 

CMFCVisualManagerOffice2007::OnDrawRibbonDefaultPaneButtonIndicator

 

CMFCVisualManagerOffice2007::OnDrawRibbonGalleryBorder

 

CMFCVisualManagerOffice2007::OnDrawRibbonGalleryButton

 

CMFCVisualManagerOffice2007::OnDrawRibbonKeyTip

 

CMFCVisualManagerOffice2007::OnDrawRibbonLaunchButton

 

CMFCVisualManagerOffice2007::OnDrawRibbonMainPanelButtonBorder

 

CMFCVisualManagerOffice2007::OnDrawRibbonMainPanelFrame

 

CMFCVisualManagerOffice2007::OnDrawRibbonMenuCheckFrame

 

CMFCVisualManagerOffice2007::OnDrawRibbonPanel

 

CMFCVisualManagerOffice2007::OnDrawRibbonPanelCaption

 

CMFCVisualManagerOffice2007::OnDrawRibbonProgressBar

 

CMFCVisualManagerOffice2007::OnDrawRibbonRecentFilesFrame

 

CMFCVisualManagerOffice2007::OnDrawRibbonSliderChannel

 

CMFCVisualManagerOffice2007::OnDrawRibbonSliderThumb

 

CMFCVisualManagerOffice2007::OnDrawRibbonSliderZoomButton

 

CMFCVisualManagerOffice2007::OnDrawRibbonStatusBarPane

 

CMFCVisualManagerOffice2007::OnDrawRibbonTabsFrame

 

CMFCVisualManagerOffice2007::OnDrawScrollButtons

 

CMFCVisualManagerOffice2007::OnDrawSeparator

 

CMFCVisualManagerOffice2007::OnDrawShowAllMenuItems

 

CMFCVisualManagerOffice2007::OnDrawStatusBarPaneBorder

 

CMFCVisualManagerOffice2007::OnDrawStatusBarSizeBox

 

CMFCVisualManagerOffice2007::OnDrawTab

 

CMFCVisualManagerOffice2007::OnDrawTabsButtonBorder

 

CMFCVisualManagerOffice2007::OnDrawTask

 

CMFCVisualManagerOffice2007::OnDrawTasksGroupCaption

 

CMFCVisualManagerOffice2007::OnDrawTearOffCaption

 

CMFCVisualManagerOffice2007::OnEraseMDIClientArea

 

CMFCVisualManagerOffice2007::OnEraseTabsArea

 

CMFCVisualManagerOffice2007::OnEraseTabsButton

 

CMFCVisualManagerOffice2007::OnEraseTabsFrame

 

CMFCVisualManagerOffice2007::OnFillBarBackground

 

CMFCVisualManagerOffice2007::OnFillButtonInterior

 

CMFCVisualManagerOffice2007::OnFillCaptionBarButton

 

CMFCVisualManagerOffice2007::OnFillHighlightedArea

 

CMFCVisualManagerOffice2007::OnFillMiniFrameCaption

 

CMFCVisualManagerOffice2007::OnFillOutlookBarCaption

 

CMFCVisualManagerOffice2007::OnFillOutlookPageButton

 

CMFCVisualManagerOffice2007::OnFillPopupWindowBackground

 

CMFCVisualManagerOffice2007::OnFillRibbonButton

 

CMFCVisualManagerOffice2007::OnFillRibbonEdit

 

CMFCVisualManagerOffice2007::OnFillRibbonMainPanelButton

 

CMFCVisualManagerOffice2007::OnFillRibbonMenuFrame

 

CMFCVisualManagerOffice2007::OnFillRibbonQuickAccessToolBarPopup

 

CMFCVisualManagerOffice2007::OnFillTab

 

CMFCVisualManagerOffice2007::OnHighlightMenuItem

 

CMFCVisualManagerOffice2007::OnHighlightRarelyUsedMenuItems

 

CMFCVisualManagerOffice2007::OnNcActivate

 

CMFCVisualManagerOffice2007::OnNcPaint

 

CMFCVisualManagerOffice2007::OnSetWindowRegion

 

CMFCVisualManagerOffice2007::OnUpdateSystemColors

 

CMFCVisualManagerOffice2007::SetResourceHandle

 

CMFCVisualManagerOffice2007::SetStyle

Sets the color scheme of the CMFCVisualManagerOffice2007 GUI.

Remarks

Use CMFCVisualManagerOffice2007 to change the visual appearance of your application to resemble that of Microsoft Office 2007. This visual manager requires that you set the style before you use it. Before you pass this visual manager to CMFCVisualManager::SetDefaultManager, you must call the static function CMFCVisualManagerOffice2007::SetStyle.

Example

The following example demonstrates how to use the visual manager Office 2007. This code snippet is part of the DesktopAlertDemo Sample: MFC Desktop Alert Application.

      CMFCVisualManagerOffice2007::SetStyle (CMFCVisualManagerOffice2007::Office2007_LunaBlue);
        CMFCVisualManager::SetDefaultManager (RUNTIME_CLASS (CMFCVisualManagerOffice2007));

Inheritance Hierarchy

CObject

   CMFCBaseVisualManager

      CMFCVisualManager

         CMFCVisualManagerOfficeXP

            CMFCVisualManagerOffice2003

               CMFCVisualManagerOffice2007

Requirements

Header: afxvisualmanageroffice2007.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCVisualManager Class

CMFCVisualManagerOfficeXP Class

CMFCVisualManagerWindows Class

CMFCVisualManager::SetDefaultManager

Other Resources

Classes (MFC Feature Pack)