CMFCVisualManagerWindows, classe
CMFCVisualManagerWindows
imite l’apparence de Microsoft Windows XP ou Microsoft Vista lorsque l’utilisateur sélectionne un thème Windows XP ou Vista.
Pour plus d’informations, consultez le code source situé dans le dossier VC\atlmfc\src\mfc de votre installation de Visual Studio.
Syntaxe
class CMFCVisualManagerWindows : public CMFCVisualManagerOfficeXP
Membres
Constructeurs publics
Nom | Description |
---|---|
CMFCVisualManagerWindows::CMFCVisualManagerWindows |
Constructeur par défaut. |
Méthodes publiques
Nom | Description |
---|---|
CMFCVisualManagerWindows ::AlwaysHighlight3DTabs | L’infrastructure appelle cette méthode pour déterminer si les onglets 3D doivent toujours être mis en surbrillance dans l’application. (Remplacements CMFCVisualManager ::AlwaysHighlight3DTabs.) |
CMFCVisualManagerWindows ::D rawComboBorderWinXP | (Substitue CMFCVisualManager::DrawComboBorderWinXP .) |
CMFCVisualManagerWindows ::D rawComboDropButtonWinXP | (Remplacements CMFCVisualManager ::D rawComboDropButtonWinXP.) |
CMFCVisualManagerWindows ::D rawPushButtonWinXP | (Remplacements CMFCVisualManager ::D rawPushButtonWinXP.) |
CMFCVisualManagerWindows ::GetButtonExtraBorder | L’infrastructure appelle cette méthode lorsqu’elle dessine un bouton de barre d’outils. (Remplacements CMFCVisualManager ::GetButtonExtraBorder.) |
CMFCVisualManagerWindows ::GetCaptionButtonExtraBorder | (Remplacements CMFCVisualManager ::GetCaptionButtonExtraBorder.) |
CMFCVisualManagerWindows ::GetDockingPaneCaptionExtraHeight | (Substitue CMFCVisualManager::GetDockingPaneCaptionExtraHeight .) |
CMFCVisualManagerWindows ::GetHighlightedMenuItemTextColor | (Substitue CMFCVisualManagerOfficeXP::GetHighlightedMenuItemTextColor .) |
CMFCVisualManagerWindows ::GetPopupMenuGap | (Substitue CMFCVisualManagerOfficeXP::GetPopupMenuGap .) |
CMFCVisualManagerWindows ::GetToolbarButtonTextColor | (Substitue CMFCVisualManagerOfficeXP::GetToolbarButtonTextColor .) |
CMFCVisualManagerWindows ::IsDefaultWinXPPopupButton | (Remplacements CMFCVisualManager ::IsDefaultWinXPPopupButton.) |
CMFCVisualManagerWindows ::IsHighlightWholeMenuItem | (Substitue CMFCVisualManagerOfficeXP::IsHighlightWholeMenuItem .) |
CMFCVisualManagerWindows ::IsOfficeStyleMenus | |
CMFCVisualManagerWindows ::IsOfficeXPStyleMenus | Indique si le gestionnaire visuel implémente des menus de style Office XP. (Remplacements CMFCVisualManager ::IsOfficeXPStyleMenus.) |
CMFCVisualManagerWindows ::IsWindowsThemingSupported | (Substitue CMFCVisualManager::IsWindowsThemingSupported .) |
CMFCVisualManagerWindows ::IsWinXPThemeAvailable | Indique si un thème Windows est disponible. |
CMFCVisualManagerWindows ::OnDrawBarGripper | (Substitue CMFCVisualManagerOfficeXP::OnDrawBarGripper .) |
CMFCVisualManagerWindows ::OnDrawBrowseButton | (Substitue CMFCVisualManagerOfficeXP::OnDrawBrowseButton .) |
CMFCVisualManagerWindows ::OnDrawButtonBorder | (Substitue CMFCVisualManagerOfficeXP::OnDrawButtonBorder .) |
CMFCVisualManagerWindows ::OnDrawButtonSeparator | (Substitue CMFCVisualManagerOfficeXP::OnDrawButtonSeparator .) |
CMFCVisualManagerWindows ::OnDrawCaptionButton | (Substitue CMFCVisualManagerOfficeXP::OnDrawCaptionButton .) |
CMFCVisualManagerWindows ::OnDrawCaptionButtonIcon | (Substitue CMFCVisualManagerOfficeXP::OnDrawCaptionButtonIcon .) |
CMFCVisualManagerWindows ::OnDrawCheckBoxEx | (Remplacements CMFCVisualManager ::OnDrawCheckBoxEx.) |
CMFCVisualManagerWindows ::OnDrawComboBorder | (Substitue CMFCVisualManagerOfficeXP::OnDrawComboBorder .) |
CMFCVisualManagerWindows ::OnDrawComboDropButton | (Substitue CMFCVisualManagerOfficeXP::OnDrawComboDropButton .) |
CMFCVisualManagerWindows ::OnDrawControlBorder | (Remplacements CMFCVisualManager ::OnDrawControlBorder.) |
CMFCVisualManagerWindows ::OnDrawEditBorder | (Substitue CMFCVisualManagerOfficeXP::OnDrawEditBorder .) |
CMFCVisualManagerWindows ::OnDrawExpandingBox | (Remplacements CMFCVisualManager ::OnDrawExpandingBox.) |
CMFCVisualManagerWindows ::OnDrawFloatingToolbarBorder | (Substitue CMFCVisualManagerOfficeXP::OnDrawFloatingToolbarBorder .) |
CMFCVisualManagerWindows ::OnDrawHeaderCtrlBorder | L’infrastructure appelle cette méthode lorsqu’elle dessine la bordure autour d’une instance de la classe CMFCHeaderCtrl. (Remplacements CMFCVisualManager ::OnDrawHeaderCtrlBorder.) |
CMFCVisualManagerWindows ::OnDrawHeaderCtrlSortArrow | L’infrastructure appelle cette fonction lorsqu’elle dessine la flèche de tri d’un contrôle d’en-tête. (Remplacements CMFCVisualManager ::OnDrawHeaderCtrlSortArrow.) |
CMFCVisualManagerWindows ::OnDrawMenuBorder | (Substitue CMFCVisualManagerOfficeXP::OnDrawMenuBorder .) |
CMFCVisualManagerWindows ::OnDrawMenuSystemButton | (Substitue CMFCVisualManagerOfficeXP::OnDrawMenuSystemButton .) |
CMFCVisualManagerWindows ::OnDrawMiniFrameBorder | (Substitue CMFCVisualManagerOfficeXP::OnDrawMiniFrameBorder .) |
CMFCVisualManagerWindows ::OnDrawOutlookPageButtonBorder | Appelé par l’infrastructure lorsqu’il dessine la bordure d’un bouton de page Outlook. (Remplacements CMFCVisualManager ::OnDrawOutlookPageButtonBorder.) |
CMFCVisualManagerWindows ::OnDrawPaneBorder | (Substitue CMFCVisualManagerOfficeXP::OnDrawPaneBorder .) |
CMFCVisualManagerWindows ::OnDrawPaneCaption | (Substitue CMFCVisualManagerOfficeXP::OnDrawPaneCaption .) |
CMFCVisualManagerWindows ::OnDrawPopupWindowButtonBorder | (Substitue CMFCVisualManagerOfficeXP::OnDrawPopupWindowButtonBorder .) |
CMFCVisualManagerWindows ::OnDrawScrollButtons | (Substitue CMFCVisualManagerOfficeXP::OnDrawScrollButtons .) |
CMFCVisualManagerWindows ::OnDrawSeparator | (Substitue CMFCVisualManagerOfficeXP::OnDrawSeparator .) |
CMFCVisualManagerWindows ::OnDrawSpinButtons | (Substitue CMFCVisualManagerOfficeXP::OnDrawSpinButtons .) |
CMFCVisualManagerWindows ::OnDrawStatusBarPaneBorder | (Substitue CMFCVisualManagerOfficeXP::OnDrawStatusBarPaneBorder .) |
CMFCVisualManagerWindows ::OnDrawStatusBarProgress | L’infrastructure appelle cette méthode lorsqu’elle dessine l’indicateur de progression sur l’objet CMFCStatusBar . (Remplacements CMFCVisualManager ::OnDrawStatusBarProgress.) |
CMFCVisualManagerWindows ::OnDrawStatusBarSizeBox | L’infrastructure appelle cette méthode lorsqu’elle dessine la zone de taille d’un CMFCStatusBar. (Remplacements CMFCVisualManager ::OnDrawStatusBarSizeBox.) |
CMFCVisualManagerWindows ::OnDrawTab | (Substitue CMFCVisualManagerOfficeXP::OnDrawTab .) |
CMFCVisualManagerWindows ::OnDrawTabCloseButton | (Substitue CMFCVisualManagerOfficeXP::OnDrawTabCloseButton .) |
CMFCVisualManagerWindows ::OnDrawTabsButtonBorder | (Substitue CMFCVisualManagerOfficeXP::OnDrawTabsButtonBorder .) |
CMFCVisualManagerWindows ::OnDrawTask | (Substitue CMFCVisualManagerOfficeXP::OnDrawTask .) |
CMFCVisualManagerWindows ::OnDrawTasksGroupAreaBorder | (Substitue CMFCVisualManagerOfficeXP::OnDrawTasksGroupAreaBorder .) |
CMFCVisualManagerWindows ::OnDrawTasksGroupCaption | (Substitue CMFCVisualManagerOfficeXP::OnDrawTasksGroupCaption .) |
CMFCVisualManagerWindows ::OnDrawTearOffCaption | (Substitue CMFCVisualManagerOfficeXP::OnDrawTearOffCaption .) |
CMFCVisualManagerWindows ::OnErasePopupWindowButton | (Substitue CMFCVisualManagerOfficeXP::OnErasePopupWindowButton .) |
CMFCVisualManagerWindows ::OnEraseTabsArea | (Substitue CMFCVisualManagerOfficeXP::OnEraseTabsArea .) |
CMFCVisualManagerWindows ::OnEraseTabsButton | (Substitue CMFCVisualManagerOfficeXP::OnEraseTabsButton .) |
CMFCVisualManagerWindows ::OnEraseTabsFrame | L’infrastructure appelle cette méthode lorsqu’elle efface un cadre sur une classe CMFCBaseTabCtrl. (Remplacements CMFCVisualManager ::OnEraseTabsFrame.) |
CMFCVisualManagerWindows ::OnFillBarBackground | (Substitue CMFCVisualManagerOfficeXP::OnFillBarBackground .) |
CMFCVisualManagerWindows ::OnFillButtonInterior | (Substitue CMFCVisualManagerOfficeXP::OnFillButtonInterior .) |
CMFCVisualManagerWindows ::OnFillCommandsListBackground | (Substitue CMFCVisualManagerOfficeXP::OnFillCommandsListBackground .) |
CMFCVisualManagerWindows ::OnFillMiniFrameCaption | (Substitue CMFCVisualManagerOfficeXP::OnFillMiniFrameCaption .) |
CMFCVisualManagerWindows ::OnFillOutlookPageButton | L’infrastructure appelle cette méthode lorsqu’elle remplit l’intérieur d’un bouton de page Outlook. (Remplacements CMFCVisualManager ::OnFillOutlookPageButton.) |
CMFCVisualManagerWindows ::OnFillTasksGroupInterior | (Substitue CMFCVisualManagerOfficeXP::OnFillTasksGroupInterior .) |
CMFCVisualManagerWindows ::OnFillTasksPaneBackground | L’infrastructure appelle cette méthode lorsqu’elle remplit l’arrière-plan d’un contrôle CMFCTasksPane . (Remplacements CMFCVisualManager ::OnFillTasksPaneBackground.) |
CMFCVisualManagerWindows ::OnHighlightMenuItem | (Substitue CMFCVisualManagerOfficeXP::OnHighlightMenuItem .) |
CMFCVisualManagerWindows ::OnHighlightRarelyUsedMenuItems | (Substitue CMFCVisualManagerOfficeXP::OnHighlightRarelyUsedMenuItems .) |
CMFCVisualManagerWindows ::OnUpdateSystemColors | (Substitue CMFCVisualManagerOfficeXP::OnUpdateSystemColors .) |
CMFCVisualManagerWindows ::SetOfficeStyleMenus |
Données membres
Nom | Description |
---|---|
CMFCVisualManagerWindows ::m_b3DTabsXPTheme | Spécifie si le thème Windows XP affiche des onglets 3D. |
Notes
Utilisez la CMFCVisualManagerWindows
classe pour modifier l’apparence de votre application pour imiter le thème actuel sur l’ordinateur sur lequel l’application s’exécute.
Toutefois, un thème Windows peut ne pas être disponible si votre application s’exécute sur une version de Windows antérieure à Windows XP ou si les thèmes sont désactivés, car l’utilisateur utilise la vue Classique . Si aucun thème n’est disponible, l’application utilise le gestionnaire visuel par défaut défini dans CMFCVisualManager.
Exemple
L’exemple suivant montre comment utiliser CMFCVisualManagerWindows
. Cet extrait de code fait partie de l’exemple de démonstration d’alerte de bureau.
CMFCVisualManager::SetDefaultManager(RUNTIME_CLASS(CMFCVisualManagerWindows));
Hiérarchie d'héritage
Spécifications
En-tête : afxvisualmanagerwindows.h
CMFCVisualManagerWindows ::AlwaysHighlight3DTabs
virtual BOOL AlwaysHighlight3DTabs() const;
Valeur de retour
Notes
CMFCVisualManagerWindows ::CMFCVisualManagerWindows
CMFCVisualManagerWindows(BOOL bIsTemporary = FALSE);
Paramètres
[in] bIsTemporary
Notes
CMFCVisualManagerWindows ::D rawComboBorderWinXP
virtual BOOL DrawComboBorderWinXP(
CDC* pDC,
CRect rect,
BOOL bDisabled,
BOOL bIsDropped,
BOOL bIsHighlighted);
Paramètres
[in] pDC
[in] rect
[in] bDisabled
[in] bIsDropped
[in] bIsHighlighted
Valeur de retour
Notes
CMFCVisualManagerWindows ::D rawComboDropButtonWinXP
virtual BOOL DrawComboDropButtonWinXP(
CDC* pDC,
CRect rect,
BOOL bDisabled,
BOOL bIsDropped,
BOOL bIsHighlighted);
Paramètres
[in] pDC
[in] rect
[in] bDisabled
[in] bIsDropped
[in] bIsHighlighted
Valeur de retour
Notes
CMFCVisualManagerWindows ::D rawPushButtonWinXP
virtual BOOL DrawPushButtonWinXP(
CDC* pDC,
CRect rect,
CMFCButton* pButton,
UINT uiState);
Paramètres
[in] pDC
[in] rect
[in] pButton
[in] uiState
Valeur de retour
Notes
CMFCVisualManagerWindows ::GetButtonExtraBorder
virtual CSize GetButtonExtraBorder() const;
Valeur de retour
Notes
CMFCVisualManagerWindows ::GetCaptionButtonExtraBorder
virtual CSize GetCaptionButtonExtraBorder() const;
Valeur de retour
Notes
CMFCVisualManagerWindows ::GetDockingPaneCaptionExtraHeight
virtual int GetDockingPaneCaptionExtraHeight() const;
Valeur de retour
Notes
CMFCVisualManagerWindows ::GetHighlightedMenuItemTextColor
virtual COLORREF GetHighlightedMenuItemTextColor(CMFCToolBarMenuButton* pButton);
Paramètres
[in] pButton
Valeur de retour
Notes
CMFCVisualManagerWindows ::GetPopupMenuGap
virtual int GetPopupMenuGap() const;
Valeur de retour
Notes
CMFCVisualManagerWindows ::GetToolbarButtonTextColor
virtual COLORREF GetToolbarButtonTextColor(
CMFCToolBarButton* pButton,
CMFCVisualManager::AFX_BUTTON_STATE state);
Paramètres
[in] pButton
[in] état
Valeur de retour
Notes
CMFCVisualManagerWindows ::IsDefaultWinXPPopupButton
virtual BOOL IsDefaultWinXPPopupButton(CMFCDesktopAlertWndButton* pButton) const;
Paramètres
[in] pButton
Valeur de retour
Notes
CMFCVisualManagerWindows ::IsHighlightWholeMenuItem
virtual BOOL IsHighlightWholeMenuItem();
Valeur de retour
Notes
CMFCVisualManagerWindows ::IsOfficeStyleMenus
BOOL IsOfficeStyleMenus() const;
Valeur de retour
Notes
CMFCVisualManagerWindows ::IsOfficeXPStyleMenus
virtual BOOL IsOfficeXPStyleMenus() const;
Valeur de retour
Notes
CMFCVisualManagerWindows ::IsWindowsThemingSupported
virtual BOOL IsWindowsThemingSupported() const;
Valeur de retour
Notes
CMFCVisualManagerWindows ::IsWinXPThemeAvailable
Détermine si un thème Windows est disponible.
static BOOL IsWinXPThemeAvailible();
Valeur de retour
Différent de zéro si un thème est disponible ; sinon 0.
Notes
Cette méthode est valide pour tous les thèmes Windows XP et ultérieurs.
IsWinXPThemeAvailable
est identique à ceci CMFCVisualManagerWindows::IsWindowsThemingAvailable
sauf qu’il s’agit IsWinXPThemeAvailable
d’une méthode statique. Par conséquent, il crée un gestionnaire visuel temporaire s’il n’existe pas.
IsWinXPThemeAvailable
retourne toujours 0s pour les versions de Windows antérieures à Windows XP.
CMFCVisualManagerWindows ::m_b3DTabsXPTheme
Paramètre booléen qui détermine si le gestionnaire visuel affiche des onglets 3D.
AFX_IMPORT_DATA static BOOL m_b3DTabsXPTheme;
CMFCVisualManagerWindows ::OnDrawBarGripper
virtual void OnDrawBarGripper(
CDC* pDC,
CRect rectGripper,
BOOL bHorz,
CBasePane* pBar);
Paramètres
[in] pDC
[in] rectGripper
[in] bHorz
[in] pBar
Notes
CMFCVisualManagerWindows ::OnDrawBrowseButton
virtual BOOL OnDrawBrowseButton(
CDC* pDC,
CRect rect,
CMFCEditBrowseCtrl* pEdit,
CMFCVisualManager::AFX_BUTTON_STATE state,
COLORREF& clrText);
Paramètres
[in] pDC
[in] rect
[in] pEdit
[in] état
[in] clrText
Valeur de retour
Notes
CMFCVisualManagerWindows ::OnDrawButtonBorder
virtual void OnDrawButtonBorder(
CDC* pDC,
CMFCToolBarButton* pButton,
CRect rect,
CMFCVisualManager::AFX_BUTTON_STATE state);
Paramètres
[in] pDC
[in] pButton
[in] rect
[in] état
Notes
CMFCVisualManagerWindows ::OnDrawButtonSeparator
virtual void OnDrawButtonSeparator(
CDC* pDC,
CMFCToolBarButton* pButton,
CRect rect,
CMFCVisualManager::AFX_BUTTON_STATE state,
BOOL bHorz);
Paramètres
[in] pDC
[in] pButton
[in] rect
[in] état
[in] bHorz
Notes
CMFCVisualManagerWindows ::OnDrawCaptionButton
virtual void OnDrawCaptionButton(
CDC* pDC,
CMFCCaptionButton* pButton,
BOOL bActive,
BOOL bHorz,
BOOL bMaximized,
BOOL bDisabled,
int nImageID = -1);
Paramètres
[in] pDC
[in] pButton
[in] bActive
[in] bHorz
[in] bMaximized
[in] bDisabled
[in] nImageID
Notes
CMFCVisualManagerWindows ::OnDrawCaptionButtonIcon
virtual void OnDrawCaptionButtonIcon(
CDC* pDC,
CMFCCaptionButton* pButton,
CMenuImages::IMAGES_IDS id,
BOOL bActive,
BOOL bDisabled,
CPoint ptImage);
Paramètres
[in] pDC
[in] pButton
[in] id
[in] bActive
[in] bDisabled
[in] ptImage
Notes
CMFCVisualManagerWindows ::OnDrawCheckBoxEx
virtual void OnDrawCheckBoxEx(
CDC* pDC,
CRect rect,
int nState,
BOOL bHighlighted,
BOOL bPressed,
BOOL bEnabled);
Paramètres
[in] pDC
[in] rect
[in] nState
[in] bHighlighted
[in] bPressed
[in] bEnabled
Notes
CMFCVisualManagerWindows ::OnDrawComboBorder
virtual void OnDrawComboBorder(
CDC* pDC,
CRect rect,
BOOL bDisabled,
BOOL bIsDropped,
BOOL bIsHighlighted,
CMFCToolBarComboBoxButton* pButton);
Paramètres
[in] pDC
[in] rect
[in] bDisabled
[in] bIsDropped
[in] bIsHighlighted
[in] pButton
Notes
CMFCVisualManagerWindows ::OnDrawComboDropButton
virtual void OnDrawComboDropButton(
CDC* pDC,
CRect rect,
BOOL bDisabled,
BOOL bIsDropped,
BOOL bIsHighlighted,
CMFCToolBarComboBoxButton* pButton);
Paramètres
[in] pDC
[in] rect
[in] bDisabled
[in] bIsDropped
[in] bIsHighlighted
[in] pButton
Notes
CMFCVisualManagerWindows ::OnDrawControlBorder
virtual void OnDrawControlBorder(CWnd* pWndCtrl);
Paramètres
[in] pWndCtrl
Notes
CMFCVisualManagerWindows ::OnDrawEditBorder
virtual void OnDrawEditBorder(
CDC* pDC,
CRect rect,
BOOL bDisabled,
BOOL bIsHighlighted,
CMFCToolBarEditBoxButton* pButton);
Paramètres
[in] pDC
[in] rect
[in] bDisabled
[in] bIsHighlighted
[in] pButton
Notes
CMFCVisualManagerWindows ::OnDrawExpandingBox
virtual void OnDrawExpandingBox(
CDC* pDC,
CRect rect,
BOOL bIsOpened,
COLORREF colorBox);
Paramètres
[in] pDC
[in] rect
[in] bIsOpened
[in] colorBox
Notes
CMFCVisualManagerWindows ::OnDrawFloatingToolbarBorder
virtual void OnDrawFloatingToolbarBorder(
CDC* pDC,
CMFCBaseToolBar* pToolBar,
CRect rectBorder,
CRect rectBorderSize);
Paramètres
[in] pDC
[in] pToolBar
[in] rectBorder
[in] rectBorderSize
Notes
CMFCVisualManagerWindows ::OnDrawHeaderCtrlBorder
virtual void OnDrawHeaderCtrlBorder(
CMFCHeaderCtrl* pCtrl,
CDC* pDC,
CRect& rect,
BOOL bIsPressed,
BOOL bIsHighlighted);
Paramètres
[in] pCtrl
[in] pDC
[in] rect
[in] bIsPressed
[in] bIsHighlighted
Notes
CMFCVisualManagerWindows ::OnDrawHeaderCtrlSortArrow
virtual void OnDrawHeaderCtrlSortArrow(
CMFCHeaderCtrl* pCtrl,
CDC* pDC,
CRect& rect,
BOOL bIsUp);
Paramètres
[in] pCtrl
[in] pDC
[in] rect
[in] bIsUp
Notes
CMFCVisualManagerWindows ::OnDrawMenuBorder
virtual void OnDrawMenuBorder(
CDC* pDC,
CMFCPopu* pMenu,
CRect rect);
Paramètres
[in] pDC
[in] pMenu
[in] rect
Notes
CMFCVisualManagerWindows ::OnDrawMenuSystemButton
virtual void OnDrawMenuSystemButton(
CDC* pDC,
CRect rect,
UINT uiSystemCommand,
UINT nStyle,
BOOL bHighlight);
Paramètres
[in] pDC
[in] rect
[in] uiSystemCommand
[in] nStyle
[in] bHighlight
Notes
CMFCVisualManagerWindows ::OnDrawMiniFrameBorder
virtual void OnDrawMiniFrameBorder(
CDC* pDC,
CPaneFrameWnd* pFrameWnd,
CRect rectBorder,
CRect rectBorderSize);
Paramètres
[in] pDC
[in] pFrameWnd
[in] rectBorder
[in] rectBorderSize
Notes
CMFCVisualManagerWindows ::OnDrawOutlookPageButtonBorder
virtual void OnDrawOutlookPageButtonBorder(
CDC* pDC,
CRect& rectBtn,
BOOL bIsHighlighted,
BOOL bIsPressed);
Paramètres
[in] pDC
[in] rectBtn
[in] bIsHighlighted
[in] bIsPressed
Notes
CMFCVisualManagerWindows ::OnDrawPaneBorder
virtual void OnDrawPaneBorder(
CDC* pDC,
CBasePane* pBar,
CRect& rect);
Paramètres
[in] pDC
[in] pBar
[in] rect
Notes
CMFCVisualManagerWindows ::OnDrawPaneCaption
virtual COLORREF OnDrawPaneCaption(
CDC* pDC,
CDockablePane* pBar,
BOOL bActive,
CRect rectCaption,
CRect rectButtons);
Paramètres
[in] pDC
[in] pBar
[in] bActive
[in] rectCaption
[in] rectButtons
Valeur de retour
Notes
CMFCVisualManagerWindows ::OnDrawPopupWindowButtonBorder
virtual void OnDrawPopupWindowButtonBorder(
CDC* pDC,
CRect rectClient,
CMFCDesktopAlertWndButton* pButton);
Paramètres
[in] pDC
[in] rectClient
[in] pButton
Notes
CMFCVisualManagerWindows ::OnDrawScrollButtons
virtual void OnDrawScrollButtons(
CDC* pDC,
const CRect& rect,
const int nBorderSize,
int iImage,
BOOL bHilited);
Paramètres
[in] pDC
[in] rect
[in] nBorderSize
[in] iImage
[in] bHilited
Notes
CMFCVisualManagerWindows ::OnDrawSeparator
virtual void OnDrawSeparator(
CDC* pDC,
CBasePane* pBar,
CRect rect,
BOOL bIsHoriz);
Paramètres
[in] pDC
[in] pBar
[in] rect
[in] bIsHoriz
Notes
CMFCVisualManagerWindows ::OnDrawSpinButtons
virtual void OnDrawSpinButtons(
CDC* pDC,
CRect rectSpin,
int nState,
BOOL bOrientation,
CMFCSpinButtonCtrl* pSpinCtrl);
Paramètres
[in] pDC
[in] rectSpin
[in] nState
[in] bOrientation
[in] pSpinCtrl
Notes
CMFCVisualManagerWindows ::OnDrawStatusBarPaneBorder
virtual void OnDrawStatusBarPaneBorder(
CDC* pDC,
CMFCStatusBar* pBar,
CRect rectPane,
UINT uiID,
UINT nStyle);
Paramètres
[in] pDC
[in] pBar
[in] rectPane
[in] uiID
[in] nStyle
Notes
CMFCVisualManagerWindows ::OnDrawStatusBarProgress
virtual void OnDrawStatusBarProgress(
CDC* pDC,
CMFCStatusBar* pStatusBar,
CRect rectProgress,
int nProgressTotal,
int nProgressCurr,
COLORREF clrBar,
COLORREF clrProgressBarDest,
COLORREF clrProgressText,
BOOL bProgressText);
Paramètres
[in] pDC
[in] pStatusBar
[in] rectProgress
[in] nProgressTotal
[in] nProgressCurr
[in] clrBar
[in] clrProgressBarDest
[in] clrProgressText
[in] bProgressText
Notes
CMFCVisualManagerWindows ::OnDrawStatusBarSizeBox
virtual void OnDrawStatusBarSizeBox(
CDC* pDC,
CMFCStatusBar* pStatBar,
CRect rectSizeBox);
Paramètres
[in] pDC
[in] pStatBar
[in] rectSizeBox
Notes
CMFCVisualManagerWindows ::OnDrawTab
virtual void OnDrawTab(
CDC* pDC,
CRect rectTab,
int iTab,
BOOL bIsActive,
const CMFCBaseTabCtrl* pTabWnd);
Paramètres
[in] pDC
[in] rectTab
[in] iTab
[in] bIsActive
[in] pTabWnd
Notes
CMFCVisualManagerWindows ::OnDrawTabCloseButton
virtual void OnDrawTabCloseButton(
CDC* pDC,
CRect rect,
const CMFCBaseTabCtrl* pTabWnd,
BOOL bIsHighlighted,
BOOL bIsPressed,
BOOL bIsDisabled);
Paramètres
[in] pDC
[in] rect
[in] pTabWnd
[in] bIsHighlighted
[in] bIsPressed
[in] bIsDisabled
Notes
CMFCVisualManagerWindows ::OnDrawTabsButtonBorder
virtual void OnDrawTabsButtonBorder(
CDC* pDC,
CRect& rect,
CMFCButton* pButton,
UINT uiState,
CMFCBaseTabCtrl* pWndTab);
Paramètres
[in] pDC
[in] rect
[in] pButton
[in] uiState
[in] pWndTab
Notes
CMFCVisualManagerWindows ::OnDrawTask
virtual void OnDrawTask(
CDC* pDC,
CMFCTasksPaneTask* pTask,
CImageList* pIcons,
BOOL bIsHighlighted = FALSE,
BOOL bIsSelected = FALSE);
Paramètres
[in] pDC
[in] pTask
[in] pIcons
[in] bIsHighlighted
[in] bIsSelected
Notes
CMFCVisualManagerWindows ::OnDrawTasksGroupAreaBorder
virtual void OnDrawTasksGroupAreaBorder(
CDC* pDC,
CRect rect,
BOOL bSpecial = FALSE,
BOOL bNoTitle = FALSE);
Paramètres
[in] pDC
[in] rect
[in] bSpecial
[in] bNoTitle
Notes
CMFCVisualManagerWindows ::OnDrawTasksGroupCaption
virtual void OnDrawTasksGroupCaption(
CDC* pDC,
CMFCTasksPaneTaskGroup* pGroup,
BOOL bIsHighlighted = FALSE,
BOOL bIsSelected = FALSE,
BOOL bCanCollapse = FALSE);
Paramètres
[in] pDC
[in] pGroup
[in] bIsHighlighted
[in] bIsSelected
[in] bCanCollapse
Notes
CMFCVisualManagerWindows ::OnDrawTearOffCaption
virtual void OnDrawTearOffCaption(
CDC* pDC,
CRect rect,
BOOL bIsActive);
Paramètres
[in] pDC
[in] rect
[in] bIsActive
Notes
CMFCVisualManagerWindows ::OnErasePopupWindowButton
virtual void OnErasePopupWindowButton(
CDC* pDC,
CRect rectClient,
CMFCDesktopAlertWndButton* pButton);
Paramètres
[in] pDC
[in] rectClient
[in] pButton
Notes
CMFCVisualManagerWindows ::OnEraseTabsArea
virtual void OnEraseTabsArea(
CDC* pDC,
CRect rect,
const CMFCBaseTabCtrl* pTabWnd);
Paramètres
[in] pDC
[in] rect
[in] pTabWnd
Notes
CMFCVisualManagerWindows ::OnEraseTabsButton
virtual void OnEraseTabsButton(
CDC* pDC,
CRect rect,
CMFCButton* pButton,
CMFCBaseTabCtrl* pWndTab);
Paramètres
[in] pDC
[in] rect
[in] pButton
[in] pWndTab
Notes
CMFCVisualManagerWindows ::OnEraseTabsFrame
virtual BOOL OnEraseTabsFrame(
CDC* pDC,
CRect rect,
const CMFCBaseTabCtrl* pTabWnd);
Paramètres
[in] pDC
[in] rect
[in] pTabWnd
Valeur de retour
Notes
CMFCVisualManagerWindows ::OnFillBarBackground
virtual void OnFillBarBackground(
CDC* pDC,
CBasePane* pBar,
CRect rectClient,
CRect rectClip,
BOOL bNCArea = FALSE);
Paramètres
[in] pDC
[in] pBar
[in] rectClient
[in] rectClip
[in] bNCArea
Notes
CMFCVisualManagerWindows ::OnFillButtonInterior
virtual void OnFillButtonInterior(
CDC* pDC,
CMFCToolBarButton* pButton,
CRect rect,
CMFCVisualManager::AFX_BUTTON_STATE state);
Paramètres
[in] pDC
[in] pButton
[in] rect
[in] état
Notes
CMFCVisualManagerWindows ::OnFillCommandsListBackground
virtual COLORREF OnFillCommandsListBackground(
CDC* pDC,
CRect rect,
BOOL bIsSelected = FALSE);
Paramètres
[in] pDC
[in] rect
[in] bIsSelected
Valeur de retour
Notes
CMFCVisualManagerWindows ::OnFillMiniFrameCaption
virtual COLORREF OnFillMiniFrameCaption(
CDC* pDC,
CRect rectCaption,
CPaneFrameWnd* pFrameWnd,
BOOL bActive);
Paramètres
[in] pDC
[in] rectCaption
[in] pFrameWnd
[in] bActive
Valeur de retour
Notes
CMFCVisualManagerWindows ::OnFillOutlookPageButton
virtual void OnFillOutlookPageButton(
CDC* pDC,
const CRect& rect,
BOOL bIsHighlighted,
BOOL bIsPressed,
COLORREF& clrText);
Paramètres
[in] pDC
[in] rect
[in] bIsHighlighted
[in] bIsPressed
[in] clrText
Notes
CMFCVisualManagerWindows ::OnFillTasksGroupInterior
virtual void OnFillTasksGroupInterior(
CDC* pDC,
CRect rect,
BOOL bSpecial = FALSE);
Paramètres
[in] pDC
[in] rect
[in] bSpecial
Notes
CMFCVisualManagerWindows ::OnFillTasksPaneBackground
virtual void OnFillTasksPaneBackground(
CDC* pDC,
CRect rectWorkArea);
Paramètres
[in] pDC
[in] rectWorkArea
Notes
CMFCVisualManagerWindows ::OnHighlightMenuItem
virtual void OnHighlightMenuItem(
CDC* pDC,
CMFCToolBarMenuButton* pButton,
CRect rect,
COLORREF& clrText);
Paramètres
[in] pDC
[in] pButton
[in] rect
[in] clrText
Notes
CMFCVisualManagerWindows ::OnHighlightRarelyUsedMenuItems
virtual void OnHighlightRarelyUsedMenuItems(
CDC* pDC,
CRect rectRarelyUsed);
Paramètres
[in] pDC
[in] rectRarelyUsed
Notes
CMFCVisualManagerWindows ::OnUpdateSystemColors
virtual void OnUpdateSystemColors();
Notes
CMFCVisualManagerWindows ::SetOfficeStyleMenus
void SetOfficeStyleMenus(BOOL bOn = TRUE);
Paramètres
[in] bOn
Notes
Voir aussi
Graphique hiérarchique
Classes
CMFCVisualManager, classe
CMFCVisualManagerOfficeXP, classe