CMFCVisualManagerOffice2007 Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at CMFCVisualManagerOffice2007 Class.

CMFCVisualManagerOffice2007` gives an application a Microsoft Office 2007 appearance.

Syntax

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::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 Desktop Alert Demo sample.

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

Inheritance Hierarchy

CObject

CMFCBaseVisualManager

CMFCVisualManager

CMFCVisualManagerOfficeXP

CMFCVisualManagerOffice2003

CMFCVisualManagerOffice2007

Requirements

Header: afxvisualmanageroffice2007.h

CMFCVisualManagerOffice2007::AlwaysHighlight3DTabs

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual BOOL AlwaysHighlight3DTabs() const;  

Return Value

Remarks

CMFCVisualManagerOffice2007::CleanStyle

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

static void __stdcall CleanStyle();

Remarks

CMFCVisualManagerOffice2007::GetCaptionBarTextColor

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF GetCaptionBarTextColor(CMFCCaptionBar* pBar);

Parameters

[in] pBar

Return Value

Remarks

CMFCVisualManagerOffice2007::GetHighlightedMenuItemTextColor

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF GetHighlightedMenuItemTextColor(CMFCToolBarMenuButton* pButton);

Parameters

[in] pButton

Return Value

Remarks

CMFCVisualManagerOffice2007::GetMenuItemTextColor

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF GetMenuItemTextColor(
    CMFCToolBarMenuButton* pButton,  
    BOOL bHighlighted,  
    BOOL bDisabled);

Parameters

[in] pButton
[in] bHighlighted
[in] bDisabled

Return Value

Remarks

CMFCVisualManagerOffice2007::GetNcBtnSize

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual CSize GetNcBtnSize(BOOL bSmall) const;  

Parameters

[in] bSmall

Return Value

Remarks

CMFCVisualManagerOffice2007::GetRibbonBar

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

CMFCRibbonBar* GetRibbonBar(CWnd* pWnd) const;  

Parameters

[in] pWnd

Return Value

Remarks

CMFCVisualManagerOffice2007::GetRibbonHyperlinkTextColor

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF GetRibbonHyperlinkTextColor(CMFCRibbonLinkCtrl* pHyperLink);

Parameters

[in] pHyperLink

Return Value

Remarks

CMFCVisualManagerOffice2007::GetRibbonPopupBorderSize

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual int GetRibbonPopupBorderSize(const CMFCRibbonPanelMenu* pPopup) const;  

Parameters

[in] pPopup

Return Value

Remarks

CMFCVisualManagerOffice2007::GetRibbonQuickAccessToolBarChevronOffset

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual int GetRibbonQuickAccessToolBarChevronOffset();

Return Value

Remarks

CMFCVisualManagerOffice2007::GetRibbonQuickAccessToolBarRightMargin

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual int GetRibbonQuickAccessToolBarRightMargin();

Return Value

Remarks

CMFCVisualManagerOffice2007::GetRibbonQuickAccessToolBarTextColor

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF GetRibbonQuickAccessToolBarTextColor(BOOL bDisabled = FALSE);

Parameters

[in] bDisabled

Return Value

Remarks

CMFCVisualManagerOffice2007::GetRibbonStatusBarTextColor

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF GetRibbonStatusBarTextColor(CMFCRibbonStatusBar* pStatusBar);

Parameters

[in] pStatusBar

Return Value

Remarks

CMFCVisualManagerOffice2007::GetShowAllMenuItemsHeight

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual int GetShowAllMenuItemsHeight(
    CDC* pDC,  
    const CSize& sizeDefault);

Parameters

[in] pDC
[in] sizeDefault

Return Value

Remarks

CMFCVisualManagerOffice2007::GetStatusBarPaneTextColor

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF GetStatusBarPaneTextColor(
    CMFCStatusBar* pStatusBar,  
    CMFCStatusBarPaneInfo* pPane);

Parameters

[in] pStatusBar
[in] pPane

Return Value

Remarks

CMFCVisualManagerOffice2007::GetTabFrameColors

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void GetTabFrameColors(
    const CMFCBaseTabCtrl* pTabWnd,  
    COLORREF& clrDark,  
    COLORREF& clrBlack,  
    COLORREF& clrHighlight,  
    COLORREF& clrFace,  
    COLORREF& clrDarkShadow,  
    COLORREF& clrLight,  
    CBrush*& pbrFace,  
    CBrush*& pbrBlack);

Parameters

[in] pTabWnd
[in] clrDark
[in] clrBlack
[in] clrHighlight
[in] clrFace
[in] clrDarkShadow
[in] clrLight
[in] pbrFace
[in] pbrBlack

Remarks

CMFCVisualManagerOffice2007::GetTabHorzMargin

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual int GetTabHorzMargin(const CMFCBaseTabCtrl* pTabWnd);

Parameters

[in] pTabWnd

Return Value

Remarks

CMFCVisualManagerOffice2007::GetTabTextColor

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF GetTabTextColor(
    const CMFCBaseTabCtrl* pTabWnd,  
    int iTab,  
    BOOL bIsActive);

Parameters

[in] pTabWnd
[in] iTab
[in] bIsActive

Return Value

Remarks

CMFCVisualManagerOffice2007::GetToolbarButtonTextColor

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF GetToolbarButtonTextColor(
    CMFCToolBarButton* pButton,  
    CMFCVisualManager::AFX_BUTTON_STATE state);

Parameters

[in] pButton
[in] state

Return Value

Remarks

CMFCVisualManagerOffice2007::GetToolbarDisabledTextColor

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF GetToolbarDisabledTextColor();

Return Value

Remarks

CMFCVisualManagerOffice2007::GetToolTipInfo

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual BOOL GetToolTipInfo(
    CMFCToolTipInfo& params,  
    UINT nType = (UINT)(-1));

Parameters

[in] params
[in] nType

Return Value

Remarks

CMFCVisualManagerOffice2007::IsHighlightWholeMenuItem

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual BOOL IsHighlightWholeMenuItem();

Return Value

Remarks

CMFCVisualManagerOffice2007::IsLayeredRibbonKeyTip

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual BOOL IsLayeredRibbonKeyTip() const;  

Return Value

Remarks

CMFCVisualManagerOffice2007::IsOwnerDrawCaption

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual BOOL IsOwnerDrawCaption();

Return Value

Remarks

CMFCVisualManagerOffice2007::IsOwnerDrawMenuCheck

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual BOOL IsOwnerDrawMenuCheck();

Return Value

Remarks

CMFCVisualManagerOffice2007::IsRibbonPresent

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

BOOL IsRibbonPresent(CWnd* pWnd) const;  

Parameters

[in] pWnd

Return Value

Remarks

CMFCVisualManagerOffice2007::OnDrawBarGripper

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawBarGripper(
    CDC* pDC,  
    CRect rectGripper,  
    BOOL bHorz,  
    CBasePane* pBar);

Parameters

[in] pDC
[in] rectGripper
[in] bHorz
[in] pBar

Remarks

CMFCVisualManagerOffice2007::OnDrawButtonBorder

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawButtonBorder(
    CDC* pDC,  
    CMFCToolBarButton* pButton,  
    CRect rect,  
    CMFCVisualManager::AFX_BUTTON_STATE state);

Parameters

[in] pDC
[in] pButton
[in] rect
[in] state

Remarks

CMFCVisualManagerOffice2007::OnDrawButtonSeparator

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawButtonSeparator(
    CDC* pDC,  
    CMFCToolBarButton* pButton,  
    CRect rect,  
    CMFCVisualManager::AFX_BUTTON_STATE state,  
    BOOL bHorz);

Parameters

[in] pDC
[in] pButton
[in] rect
[in] state
[in] bHorz

Remarks

CMFCVisualManagerOffice2007::OnDrawCaptionBarInfoArea

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawCaptionBarInfoArea(
    CDC* pDC,  
    CMFCCaptionBar* pBar,  
    CRect rect);

Parameters

[in] pDC
[in] pBar
[in] rect

Remarks

CMFCVisualManagerOffice2007::OnDrawCheckBoxEx

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawCheckBoxEx(
    CDC* pDC,  
    CRect rect,  
    int nState,  
    BOOL bHighlighted,  
    BOOL bPressed,  
    BOOL bEnabled);

Parameters

[in] pDC
[in] rect
[in] nState
[in] bHighlighted
[in] bPressed
[in] bEnabled

Remarks

CMFCVisualManagerOffice2007::OnDrawComboBorder

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawComboBorder(
    CDC* pDC,  
    CRect rect,  
    BOOL bDisabled,  
    BOOL bIsDropped,  
    BOOL bIsHighlighted,  
    CMFCToolBarComboBoxButton* pButton);

Parameters

[in] pDC
[in] rect
[in] bDisabled
[in] bIsDropped
[in] bIsHighlighted
[in] pButton

Remarks

CMFCVisualManagerOffice2007::OnDrawComboDropButton

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawComboDropButton(
    CDC* pDC,  
    CRect rect,  
    BOOL bDisabled,  
    BOOL bIsDropped,  
    BOOL bIsHighlighted,  
    CMFCToolBarComboBoxButton* pButton);

Parameters

[in] pDC
[in] rect
[in] bDisabled
[in] bIsDropped
[in] bIsHighlighted
[in] pButton

Remarks

CMFCVisualManagerOffice2007::OnDrawDefaultRibbonImage

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawDefaultRibbonImage(
    CDC* pDC,  
    CRect rectImage,  
    BOOL bIsDisabled = FALSE,  
    BOOL bIsPressed = FALSE,  
    BOOL bIsHighlighted = FALSE);

Parameters

[in] pDC
[in] rectImage
[in] bIsDisabled
[in] bIsPressed
[in] bIsHighlighted

Remarks

CMFCVisualManagerOffice2007::OnDrawEditBorder

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawEditBorder(
    CDC* pDC,  
    CRect rect,  
    BOOL bDisabled,  
    BOOL bIsHighlighted,  
    CMFCToolBarEditBoxButton* pButton);

Parameters

[in] pDC
[in] rect
[in] bDisabled
[in] bIsHighlighted
[in] pButton

Remarks

CMFCVisualManagerOffice2007::OnDrawFloatingToolbarBorder

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawFloatingToolbarBorder(
    CDC* pDC,  
    CMFCBaseToolBar* pToolBar,  
    CRect rectBorder,  
    CRect rectBorderSize);

Parameters

[in] pDC
[in] pToolBar
[in] rectBorder
[in] rectBorderSize

Remarks

CMFCVisualManagerOffice2007::OnDrawHeaderCtrlBorder

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawHeaderCtrlBorder(
    CMFCHeaderCtrl* pCtrl,  
    CDC* pDC,  
    CRect& rect,  
    BOOL bIsPressed,  
    BOOL bIsHighlighted);

Parameters

[in] pCtrl
[in] pDC
[in] rect
[in] bIsPressed
[in] bIsHighlighted

Remarks

CMFCVisualManagerOffice2007::OnDrawMenuBorder

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawMenuBorder(
    CDC* pDC,  
    CMFCPopu* pMenu,  
    CRect rect);

Parameters

[in] pDC
[in] pMenu
[in] rect

Remarks

CMFCVisualManagerOffice2007::OnDrawMenuCheck

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawMenuCheck(
    CDC* pDC,  
    CMFCToolBarMenuButton* pButton,  
    CRect rect,  
    BOOL bHighlight,  
    BOOL bIsRadio);

Parameters

[in] pDC
[in] pButton
[in] rect
[in] bHighlight
[in] bIsRadio

Remarks

CMFCVisualManagerOffice2007::OnDrawMenuItemButton

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawMenuItemButton(
    CDC* pDC,  
    CMFCToolBarMenuButton* pButton,  
    CRect rectButton,  
    BOOL bHighlight,  
    BOOL bDisabled);

Parameters

[in] pDC
[in] pButton
[in] rectButton
[in] bHighlight
[in] bDisabled

Remarks

CMFCVisualManagerOffice2007::OnDrawMenuLabel

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF OnDrawMenuLabel(
    CDC* pDC,  
    CRect rect);

Parameters

[in] pDC
[in] rect

Return Value

Remarks

CMFCVisualManagerOffice2007::OnDrawMenuResizeBar

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawMenuResizeBar(
    CDC* pDC,  
    CRect rect,  
    int nResizeFlags);

Parameters

[in] pDC
[in] rect
[in] nResizeFlags

Remarks

CMFCVisualManagerOffice2007::OnDrawMenuScrollButton

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawMenuScrollButton(
    CDC* pDC,  
    CRect rect,  
    BOOL bIsScrollDown,  
    BOOL bIsHighlited,  
    BOOL bIsPressed,  
    BOOL bIsDisabled);

Parameters

[in] pDC
[in] rect
[in] bIsScrollDown
[in] bIsHighlited
[in] bIsPressed
[in] bIsDisabled

Remarks

CMFCVisualManagerOffice2007::OnDrawMenuSystemButton

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawMenuSystemButton(
    CDC* pDC,  
    CRect rect,  
    UINT uiSystemCommand,  
    UINT nStyle,  
    BOOL bHighlight);

Parameters

[in] pDC
[in] rect
[in] uiSystemCommand
[in] nStyle
[in] bHighlight

Remarks

CMFCVisualManagerOffice2007::OnDrawMiniFrameBorder

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawMiniFrameBorder(
    CDC* pDC,  
    CPaneFrameWnd* pFrameWnd,  
    CRect rectBorder,  
    CRect rectBorderSize);

Parameters

[in] pDC
[in] pFrameWnd
[in] rectBorder
[in] rectBorderSize

Remarks

CMFCVisualManagerOffice2007::OnDrawOutlookBarSplitter

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawOutlookBarSplitter(
    CDC* pDC,  
    CRect rectSplitter);

Parameters

[in] pDC
[in] rectSplitter

Remarks

CMFCVisualManagerOffice2007::OnDrawOutlookPageButtonBorder

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawOutlookPageButtonBorder(
    CDC* pDC,  
    CRect& rectBtn,  
    BOOL bIsHighlighted,  
    BOOL bIsPressed);

Parameters

[in] pDC
[in] rectBtn
[in] bIsHighlighted
[in] bIsPressed

Remarks

CMFCVisualManagerOffice2007::OnDrawPaneCaption

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF OnDrawPaneCaption(
    CDC* pDC,  
    CDockablePane* pBar,  
    BOOL bActive,  
    CRect rectCaption,  
    CRect rectButtons);

Parameters

[in] pDC
[in] pBar
[in] bActive
[in] rectCaption
[in] rectButtons

Return Value

Remarks

CMFCVisualManagerOffice2007::OnDrawPopupWindowCaption

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF OnDrawPopupWindowCaption(
    CDC* pDC,  
    CRect rectCaption,  
    CMFCDesktopAlertWnd* pPopupWnd);

Parameters

[in] pDC
[in] rectCaption
[in] pPopupWnd

Return Value

Remarks

CMFCVisualManagerOffice2007::OnDrawPropertySheetListItem

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF OnDrawPropertySheetListItem(
    CDC* pDC,  
    CMFCPropertySheet* pParent,  
    CRect rect,  
    BOOL bIsHighlihted,  
    BOOL bIsSelected);

Parameters

[in] pDC
[in] pParent
[in] rect
[in] bIsHighlihted
[in] bIsSelected

Return Value

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonApplicationButton

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawRibbonApplicationButton(
    CDC* pDC,  
    CMFCRibbonButton* pButton);

Parameters

[in] pDC
[in] pButton

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonButtonBorder

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawRibbonButtonBorder(
    CDC* pDC,  
    CMFCRibbonButton* pButton);

Parameters

[in] pDC
[in] pButton

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonButtonsGroup

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF OnDrawRibbonButtonsGroup(
    CDC* pDC,  
    CMFCRibbonButtonsGroup* pGroup,  
    CRect rectGroup);

Parameters

[in] pDC
[in] pGroup
[in] rectGroup

Return Value

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonCaption

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawRibbonCaption(
    CDC* pDC,  
    CMFCRibbonBar* pBar,  
    CRect rectCaption,  
    CRect rectText);

Parameters

[in] pDC
[in] pBar
[in] rectCaption
[in] rectText

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonCaptionButton

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawRibbonCaptionButton(
    CDC* pDC,  
    CMFCRibbonCaptionButton* pButton);

Parameters

[in] pDC
[in] pButton

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonCategory

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawRibbonCategory(
    CDC* pDC,  
    CMFCRibbonCategory* pCategory,  
    CRect rectCategory);

Parameters

[in] pDC
[in] pCategory
[in] rectCategory

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonCategoryCaption

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF OnDrawRibbonCategoryCaption(
    CDC* pDC,  
    CMFCRibbonContextCaption* pContextCaption);

Parameters

[in] pDC
[in] pContextCaption

Return Value

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonCategoryScroll

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawRibbonCategoryScroll(
    CDC* pDC,  
    CRibbonCategoryScroll* pScroll);

Parameters

[in] pDC
[in] pScroll

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonCategoryTab

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF OnDrawRibbonCategoryTab(
    CDC* pDC,  
    CMFCRibbonTab* pTab,  
    BOOL bIsActive);

Parameters

[in] pDC
[in] pTab
[in] bIsActive

Return Value

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonCheckBoxOnList

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawRibbonCheckBoxOnList(
    CDC* pDC,  
    CMFCRibbonCheckBox* pCheckBox,  
    CRect rect,  
    BOOL bIsSelected,  
    BOOL bHighlighted);

Parameters

[in] pDC
[in] pCheckBox
[in] rect
[in] bIsSelected
[in] bHighlighted

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonDefaultPaneButton

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawRibbonDefaultPaneButton(
    CDC* pDC,  
    CMFCRibbonButton* pButton);

Parameters

[in] pDC
[in] pButton

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonDefaultPaneButtonIndicator

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawRibbonDefaultPaneButtonIndicator(
    CDC* pDC,  
    CMFCRibbonButton* pButton,  
    CRect rect,  
    BOOL bIsSelected,  
    BOOL bHighlighted);

Parameters

[in] pDC
[in] pButton
[in] rect
[in] bIsSelected
[in] bHighlighted

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonGalleryBorder

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawRibbonGalleryBorder(
    CDC* pDC,  
    CMFCRibbonGallery* pButton,  
    CRect rectBorder);

Parameters

[in] pDC
[in] pButton
[in] rectBorder

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonGalleryButton

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawRibbonGalleryButton(
    CDC* pDC,  
    CMFCRibbonGalleryIcon* pButton);

Parameters

[in] pDC
[in] pButton

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonKeyTip

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawRibbonKeyTip(
    CDC* pDC,  
    CMFCRibbonBaseElement* pElement,  
    CRect rect,  
    CString str);

Parameters

[in] pDC
[in] pElement
[in] rect
[in] str

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonMainPanelButtonBorder

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawRibbonMainPanelButtonBorder(
    CDC* pDC,  
    CMFCRibbonButton* pButton);

Parameters

[in] pDC
[in] pButton

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonMainPanelFrame

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawRibbonMainPanelFrame(
    CDC* pDC,  
    CMFCRibbonMainPanel* pPanel,  
    CRect rect);

Parameters

[in] pDC
[in] pPanel
[in] rect

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonMenuCheckFrame

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawRibbonMenuCheckFrame(
    CDC* pDC,  
    CMFCRibbonButton* pButton,  
    CRect rect);

Parameters

[in] pDC
[in] pButton
[in] rect

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonPanel

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF OnDrawRibbonPanel(
    CDC* pDC,  
    CMFCRibbonPanel* pPanel,  
    CRect rectPanel,  
    CRect rectCaption);

Parameters

[in] pDC
[in] pPanel
[in] rectPanel
[in] rectCaption

Return Value

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonPanelCaption

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawRibbonPanelCaption(
    CDC* pDC,  
    CMFCRibbonPanel* pPanel,  
    CRect rectCaption);

Parameters

[in] pDC
[in] pPanel
[in] rectCaption

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonProgressBar

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawRibbonProgressBar(
    CDC* pDC,  
    CMFCRibbonProgressBar* pProgress,  
    CRect rectProgress,  
    CRect rectChunk,  
    BOOL bInfiniteMode);

Parameters

[in] pDC
[in] pProgress
[in] rectProgress
[in] rectChunk
[in] bInfiniteMode

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonRecentFilesFrame

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawRibbonRecentFilesFrame(
    CDC* pDC,  
    CMFCRibbonMainPanel* pPanel,  
    CRect rect);

Parameters

[in] pDC
[in] pPanel
[in] rect

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonSliderChannel

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawRibbonSliderChannel(
    CDC* pDC,  
    CMFCRibbonSlider* pSlider,  
    CRect rect);

Parameters

[in] pDC
[in] pSlider
[in] rect

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonSliderThumb

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawRibbonSliderThumb(
    CDC* pDC,  
    CMFCRibbonSlider* pSlider,  
    CRect rect,  
    BOOL bIsHighlighted,  
    BOOL bIsPressed,  
    BOOL bIsDisabled);

Parameters

[in] pDC
[in] pSlider
[in] rect
[in] bIsHighlighted
[in] bIsPressed
[in] bIsDisabled

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonSliderZoomButton

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawRibbonSliderZoomButton(
    CDC* pDC,  
    CMFCRibbonSlider* pSlider,  
    CRect rect,  
    BOOL bIsZoomOut,  
    BOOL bIsHighlighted,  
    BOOL bIsPressed,  
    BOOL bIsDisabled);

Parameters

[in] pDC
[in] pSlider
[in] rect
[in] bIsZoomOut
[in] bIsHighlighted
[in] bIsPressed
[in] bIsDisabled

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonStatusBarPane

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF OnDrawRibbonStatusBarPane(
    CDC* pDC,  
    CMFCRibbonStatusBar* pBar,  
    CMFCRibbonStatusBarPane* pPane);

Parameters

[in] pDC
[in] pBar
[in] pPane

Return Value

Remarks

CMFCVisualManagerOffice2007::OnDrawRibbonTabsFrame

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF OnDrawRibbonTabsFrame(
    CDC* pDC,  
    CMFCRibbonBar* pWndRibbonBar,  
    CRect rectTab);

Parameters

[in] pDC
[in] pWndRibbonBar
[in] rectTab

Return Value

Remarks

CMFCVisualManagerOffice2007::OnDrawScrollButtons

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawScrollButtons(
    CDC* pDC,  
    const CRect& rect,  
    const int nBorderSize,  
    int iImage,  
    BOOL bHilited);

Parameters

[in] pDC
[in] rect
[in] nBorderSize
[in] iImage
[in] bHilited

Remarks

CMFCVisualManagerOffice2007::OnDrawSeparator

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawSeparator(
    CDC* pDC,  
    CBasePane* pBar,  
    CRect rect,  
    BOOL bIsHoriz);

Parameters

[in] pDC
[in] pBar
[in] rect
[in] bIsHoriz

Remarks

CMFCVisualManagerOffice2007::OnDrawShowAllMenuItems

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawShowAllMenuItems(
    CDC* pDC,  
    CRect rect,  
    CMFCVisualManager::AFX_BUTTON_STATE state);

Parameters

[in] pDC
[in] rect
[in] state

Remarks

CMFCVisualManagerOffice2007::OnDrawStatusBarPaneBorder

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawStatusBarPaneBorder(
    CDC* pDC,  
    CMFCStatusBar* pBar,  
    CRect rectPane,  
    UINT uiID,  
    UINT nStyle);

Parameters

[in] pDC
[in] pBar
[in] rectPane
[in] uiID
[in] nStyle

Remarks

CMFCVisualManagerOffice2007::OnDrawStatusBarSizeBox

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawStatusBarSizeBox(
    CDC* pDC,  
    CMFCStatusBar* pStatBar,  
    CRect rectSizeBox);

Parameters

[in] pDC
[in] pStatBar
[in] rectSizeBox

Remarks

CMFCVisualManagerOffice2007::OnDrawTab

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawTab(
    CDC* pDC,  
    CRect rectTab,  
    int iTab,  
    BOOL bIsActive,  
    const CMFCBaseTabCtrl* pTabWnd);

Parameters

[in] pDC
[in] rectTab
[in] iTab
[in] bIsActive
[in] pTabWnd

Remarks

CMFCVisualManagerOffice2007::OnDrawTabsButtonBorder

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawTabsButtonBorder(
    CDC* pDC,  
    CRect& rect,  
    CMFCButton* pButton,  
    UINT uiState,  
    CMFCBaseTabCtrl* pWndTab);

Parameters

[in] pDC
[in] rect
[in] pButton
[in] uiState
[in] pWndTab

Remarks

CMFCVisualManagerOffice2007::OnDrawTask

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawTask(
    CDC* pDC,  
    CMFCTasksPaneTask* pTask,  
    CImageList* pIcons,  
    BOOL bIsHighlighted = FALSE,  
    BOOL bIsSelected = FALSE);

Parameters

[in] pDC
[in] pTask
[in] pIcons
[in] bIsHighlighted
[in] bIsSelected

Remarks

CMFCVisualManagerOffice2007::OnDrawTasksGroupCaption

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawTasksGroupCaption(
    CDC* pDC,  
    CMFCTasksPaneTaskGroup* pGroup,  
    BOOL bIsHighlighted = FALSE,  
    BOOL bIsSelected = FALSE,  
    BOOL bCanCollapse = FALSE);

Parameters

[in] pDC
[in] pGroup
[in] bIsHighlighted
[in] bIsSelected
[in] bCanCollapse

Remarks

CMFCVisualManagerOffice2007::OnDrawTearOffCaption

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnDrawTearOffCaption(
    CDC* pDC,  
    CRect rect,  
    BOOL bIsActive);

Parameters

[in] pDC
[in] rect
[in] bIsActive

Remarks

CMFCVisualManagerOffice2007::OnEraseMDIClientArea

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual BOOL OnEraseMDIClientArea(
    CDC* pDC,  
    CRect rectClient);

Parameters

[in] pDC
[in] rectClient

Return Value

Remarks

CMFCVisualManagerOffice2007::OnEraseTabsArea

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnEraseTabsArea(
    CDC* pDC,  
    CRect rect,  
    const CMFCBaseTabCtrl* pTabWnd);

Parameters

[in] pDC
[in] rect
[in] pTabWnd

Remarks

CMFCVisualManagerOffice2007::OnEraseTabsButton

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnEraseTabsButton(
    CDC* pDC,  
    CRect rect,  
    CMFCButton* pButton,  
    CMFCBaseTabCtrl* pWndTab);

Parameters

[in] pDC
[in] rect
[in] pButton
[in] pWndTab

Remarks

CMFCVisualManagerOffice2007::OnEraseTabsFrame

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual BOOL OnEraseTabsFrame(
    CDC* pDC,  
    CRect rect,  
    const CMFCBaseTabCtrl* pTabWnd);

Parameters

[in] pDC
[in] rect
[in] pTabWnd

Return Value

Remarks

CMFCVisualManagerOffice2007::OnFillBarBackground

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnFillBarBackground(
    CDC* pDC,  
    CBasePane* pBar,  
    CRect rectClient,  
    CRect rectClip,  
    BOOL bNCArea = FALSE);

Parameters

[in] pDC
[in] pBar
[in] rectClient
[in] rectClip
[in] bNCArea

Remarks

CMFCVisualManagerOffice2007::OnFillButtonInterior

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnFillButtonInterior(
    CDC* pDC,  
    CMFCToolBarButton* pButton,  
    CRect rect,  
    CMFCVisualManager::AFX_BUTTON_STATE state);

Parameters

[in] pDC
[in] pButton
[in] rect
[in] state

Remarks

CMFCVisualManagerOffice2007::OnFillCaptionBarButton

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF OnFillCaptionBarButton(
    CDC* pDC,  
    CMFCCaptionBar* pBar,  
    CRect rect,  
    BOOL bIsPressed,  
    BOOL bIsHighlighted,  
    BOOL bIsDisabled,  
    BOOL bHasDropDownArrow,  
    BOOL bIsSysButton);

Parameters

[in] pDC
[in] pBar
[in] rect
[in] bIsPressed
[in] bIsHighlighted
[in] bIsDisabled
[in] bHasDropDownArrow
[in] bIsSysButton

Return Value

Remarks

CMFCVisualManagerOffice2007::OnFillHighlightedArea

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnFillHighlightedArea(
    CDC* pDC,  
    CRect rect,  
    CBrush* pBrush,  
    CMFCToolBarButton* pButton);

Parameters

[in] pDC
[in] rect
[in] pBrush
[in] pButton

Remarks

CMFCVisualManagerOffice2007::OnFillMiniFrameCaption

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF OnFillMiniFrameCaption(
    CDC* pDC,  
    CRect rectCaption,  
    CPaneFrameWnd* pFrameWnd,  
    BOOL bActive);

Parameters

[in] pDC
[in] rectCaption
[in] pFrameWnd
[in] bActive

Return Value

Remarks

CMFCVisualManagerOffice2007::OnFillOutlookBarCaption

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnFillOutlookBarCaption(
    CDC* pDC,  
    CRect rectCaption,  
    COLORREF& clrText);

Parameters

[in] pDC
[in] rectCaption
[in] clrText

Remarks

CMFCVisualManagerOffice2007::OnFillOutlookPageButton

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnFillOutlookPageButton(
    CDC* pDC,  
    const CRect& rect,  
    BOOL bIsHighlighted,  
    BOOL bIsPressed,  
    COLORREF& clrText);

Parameters

[in] pDC
[in] rect
[in] bIsHighlighted
[in] bIsPressed
[in] clrText

Remarks

CMFCVisualManagerOffice2007::OnFillPopupWindowBackground

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnFillPopupWindowBackground(
    CDC* pDC,  
    CRect rect);

Parameters

[in] pDC
[in] rect

Remarks

CMFCVisualManagerOffice2007::OnFillRibbonButton

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF OnFillRibbonButton(
    CDC* pDC,  
    CMFCRibbonButton* pButton);

Parameters

[in] pDC
[in] pButton

Return Value

Remarks

CMFCVisualManagerOffice2007::OnFillRibbonEdit

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnFillRibbonEdit(
    CDC* pDC,  
    CMFCRibbonRichEditCtrl* pEdit,  
    CRect rect,  
    BOOL bIsHighlighted,  
    BOOL bIsPaneHighlighted,  
    BOOL bIsDisabled,  
    COLORREF& clrText,  
    COLORREF& clrSelBackground,  
    COLORREF& clrSelText);

Parameters

[in] pDC
[in] pEdit
[in] rect
[in] bIsHighlighted
[in] bIsPaneHighlighted
[in] bIsDisabled
[in] clrText
[in] clrSelBackground
[in] clrSelText

Remarks

CMFCVisualManagerOffice2007::OnFillRibbonMainPanelButton

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual COLORREF OnFillRibbonMainPanelButton(
    CDC* pDC,  
    CMFCRibbonButton* pButton);

Parameters

[in] pDC
[in] pButton

Return Value

Remarks

CMFCVisualManagerOffice2007::OnFillRibbonMenuFrame

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnFillRibbonMenuFrame(
    CDC* pDC,  
    CMFCRibbonMainPanel* pPanel,  
    CRect rect);

Parameters

[in] pDC
[in] pPanel
[in] rect

Remarks

CMFCVisualManagerOffice2007::OnFillRibbonQuickAccessToolBarPopup

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnFillRibbonQuickAccessToolBarPopup(
    CDC* pDC,  
    CMFCRibbonPanelMenuBar* pMenuBar,  
    CRect rect);

Parameters

[in] pDC
[in] pMenuBar
[in] rect

Remarks

CMFCVisualManagerOffice2007::OnFillTab

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnFillTab(
    CDC* pDC,  
    CRect rectFill,  
    CBrush* pbrFill,  
    int iTab,  
    BOOL bIsActive,  
    const CMFCBaseTabCtrl* pTabWnd);

Parameters

[in] pDC
[in] rectFill
[in] pbrFill
[in] iTab
[in] bIsActive
[in] pTabWnd

Remarks

CMFCVisualManagerOffice2007::OnHighlightMenuItem

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnHighlightMenuItem(
    CDC* pDC,  
    CMFCToolBarMenuButton* pButton,  
    CRect rect,  
    COLORREF& clrText);

Parameters

[in] pDC
[in] pButton
[in] rect
[in] clrText

Remarks

CMFCVisualManagerOffice2007::OnHighlightRarelyUsedMenuItems

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnHighlightRarelyUsedMenuItems(
    CDC* pDC,  
    CRect rectRarelyUsed);

Parameters

[in] pDC
[in] rectRarelyUsed

Remarks

CMFCVisualManagerOffice2007::OnNcActivate

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual BOOL OnNcActivate(
    CWnd* pWnd,  
    BOOL bActive);

Parameters

[in] pWnd
[in] bActive

Return Value

Remarks

CMFCVisualManagerOffice2007::OnNcPaint

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual BOOL OnNcPaint(
    CWnd* pWnd,  
    const CObList& lstSysButtons,  
    CRect rectRedraw);

Parameters

[in] pWnd
[in] lstSysButtons
[in] rectRedraw

Return Value

Remarks

CMFCVisualManagerOffice2007::OnSetWindowRegion

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual BOOL OnSetWindowRegion(
    CWnd* pWnd,  
    CSize sizeWindow);

Parameters

[in] pWnd
[in] sizeWindow

Return Value

Remarks

CMFCVisualManagerOffice2007::OnUpdateSystemColors

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual void OnUpdateSystemColors();

Remarks

CMFCVisualManagerOffice2007::SetResourceHandle

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

static void __stdcall SetResourceHandle(HINSTANCE hinstRes);

Parameters

[in] hinstRes

Remarks

See Also

Hierarchy Chart
Classes
CMFCVisualManager Class
CMFCVisualManagerOfficeXP Class
CMFCVisualManagerWindows Class