CMFCVisualManagerVS2005 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 CMFCVisualManagerVS2005 Class.
CMFCVisualManagerVS2005` gives an application a Microsoft Visual Studio 2005 appearance.
class CMFCVisualManagerVS2005 : public CMFCVisualManagerOffice2003
Public Methods
You use the CMFCVisualManagerVS2005 class to change the visual appearance of your application to resemble that of the Microsoft Visual Studio 2005.
All of the members of this class are virtual functions that are derived from the ancestor of this class, CMFCVisualManager Class.
The following example demonstrates how to use the visual manager VS 2005. This code snippet is part of the Desktop Alert Demo sample.
CMFCVisualManager::SetDefaultManager (RUNTIME_CLASS (CMFCVisualManagerVS2005));
Header: afxvisualmanagervs2005.h
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 GetDockingTabsBordersSize();
Return Value
Remarks
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 GetMDITabsBordersSize();
Return Value
Remarks
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 GetPropertyGridGroupColor(CMFCPropertyGridCtrl* pPropList);
Parameters
[in] pPropList
Return Value
Remarks
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
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 HasOverlappedAutoHideButtons() const;
Return Value
Remarks
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 OnDrawAutoHideButtonBorder(
CDC* pDC,
CRect rectBounds,
CRect rectBorderSize,
CMFCAutoHideButton* pButton);
Parameters
[in] pDC
[in] rectBounds
[in] rectBorderSize
[in] pButton
Remarks
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 OnDrawCaptionButton (
CDC* pDC,
CMFCCaptionButton* pButton,
BOOL bActive,
BOOL bHorz,
BOOL bMaximized,
BOOL bDisabled,
int nImageID = -1);
Parameters
[in] pDC
[in] pButton
[in] bActive
[in] bHorz
[in] bMaximized
[in] bDisabled
[in] nImageID
Remarks
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
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
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
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 OnDrawToolBoxFrame(
CDC* pDC,
const CRect& rect);
Parameters
[in] pDC
[in] rect
Remarks
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
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 OnFillAutoHideButtonBackground(
CDC* pDC,
CRect rect,
CMFCAutoHideButton* pButton);
Parameters
[in] pDC
[in] rect
[in] pButton
Remarks
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
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
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
Hierarchy Chart
Classes
CMFCVisualManager Class
CMFCVisualManagerOfficeXP Class
CMFCVisualManagerWindows Class
CMFCVisualManagerOffice2003 Class