description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Learn more about: CMFCVisualManagerVS2005 Class |
CMFCVisualManagerVS2005 Class |
11/04/2016 |
|
|
ea39b9ae-327e-4a51-bce7-dc84c78f005b |
CMFCVisualManagerVS2005
gives an application a Microsoft Visual Studio 2005 appearance.
class CMFCVisualManagerVS2005 : public CMFCVisualManagerOffice2003
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.
[!code-cppNVC_MFC_DesktopAlertDemo#9]
Header: afxvisualmanagervs2005.h
virtual int GetDockingTabsBordersSize();
virtual int GetMDITabsBordersSize();
virtual COLORREF GetPropertyGridGroupColor(CMFCPropertyGridCtrl* pPropList);
[in] pPropList
virtual void GetTabFrameColors(
const CMFCBaseTabCtrl* pTabWnd,
COLORREF& clrDark,
COLORREF& clrBlack,
COLORREF& clrHighlight,
COLORREF& clrFace,
COLORREF& clrDarkShadow,
COLORREF& clrLight,
CBrush*& pbrFace,
CBrush*& pbrBlack);
[in] pTabWnd
[in] clrDark
[in] clrBlack
[in] clrHighlight
[in] clrFace
[in] clrDarkShadow
[in] clrLight
[in] pbrFace
[in] pbrBlack
virtual BOOL HasOverlappedAutoHideButtons() const;
virtual void OnDrawAutoHideButtonBorder(
CDC* pDC,
CRect rectBounds,
CRect rectBorderSize,
CMFCAutoHideButton* pButton);
[in] pDC
[in] rectBounds
[in] rectBorderSize
[in] pButton
virtual void OnDrawCaptionButton(
CDC* pDC,
CMFCCaptionButton* pButton,
BOOL bActive,
BOOL bHorz,
BOOL bMaximized,
BOOL bDisabled,
int nImageID = -1);
[in] pDC
[in] pButton
[in] bActive
[in] bHorz
[in] bMaximized
[in] bDisabled
[in] nImageID
virtual COLORREF OnDrawPaneCaption(
CDC* pDC,
CDockablePane* pBar,
BOOL bActive,
CRect rectCaption,
CRect rectButtons);
[in] pDC
[in] pBar
[in] bActive
[in] rectCaption
[in] rectButtons
virtual void OnDrawSeparator(
CDC* pDC,
CBasePane* pBar,
CRect rect,
BOOL bIsHoriz);
[in] pDC
[in] pBar
[in] rect
[in] bIsHoriz
virtual void OnDrawTab(
CDC* pDC,
CRect rectTab,
int iTab,
BOOL bIsActive,
const CMFCBaseTabCtrl* pTabWnd);
[in] pDC
[in] rectTab
[in] iTab
[in] bIsActive
[in] pTabWnd
virtual void OnDrawToolBoxFrame(
CDC* pDC,
const CRect& rect);
[in] pDC
[in] rect
virtual void OnEraseTabsArea(
CDC* pDC,
CRect rect,
const CMFCBaseTabCtrl* pTabWnd);
[in] pDC
[in] rect
[in] pTabWnd
virtual void OnFillAutoHideButtonBackground(
CDC* pDC,
CRect rect,
CMFCAutoHideButton* pButton);
[in] pDC
[in] rect
[in] pButton
virtual void OnFillHighlightedArea(
CDC* pDC,
CRect rect,
CBrush* pBrush,
CMFCToolBarButton* pButton);
[in] pDC
[in] rect
[in] pBrush
[in] pButton
virtual COLORREF OnFillMiniFrameCaption(
CDC* pDC,
CRect rectCaption,
CPaneFrameWnd* pFrameWnd,
BOOL bActive);
[in] pDC
[in] rectCaption
[in] pFrameWnd
[in] bActive
virtual void OnUpdateSystemColors();
Hierarchy Chart
Classes
CMFCVisualManager Class
CMFCVisualManagerOfficeXP Class
CMFCVisualManagerWindows Class
CMFCVisualManagerOffice2003 Class