Classe CMFCVisualManagerOffice2007

CMFCVisualManagerOffice2007 fornisce a un'applicazione un aspetto di Microsoft Office 2007.

Per altri dettagli, vedere il codice sorgente che si trova nella cartella VC\atlmfc\src\mfc dell'installazione di Visual Studio.

Sintassi

class CMFCVisualManagerOffice2007 : public CMFCVisualManagerOffice2003

Membri

Metodi pubblici

Nome Descrizione
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 Restituisce la combinazione di colori corrente dell'interfaccia CMFCVisualManagerOffice2007 utente grafica che, a sua volta, simula l'interfaccia utente grafica di Microsoft Office 2007.
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 Imposta la combinazione di colori dell'interfaccia CMFCVisualManagerOffice2007 utente grafica.

Osservazioni:

Usare CMFCVisualManagerOffice2007 per modificare l'aspetto visivo dell'applicazione in modo che sia simile a quello di Microsoft Office 2007. Questo strumento di gestione degli oggetti visivi richiede di impostare lo stile prima di usarlo. Prima di passare questo gestore visivo a CMFCVisualManager::SetDefaultManager, è necessario chiamare la funzione CMFCVisualManagerOffice2007::SetStylestatica .

Esempio

Nell'esempio seguente viene illustrato come usare Visual Manager Office 2007. Questo frammento di codice fa parte dell'esempio demo di avviso desktop.

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

Gerarchia di ereditarietà

CObject

CMFCBaseVisualManager

CMFCVisualManager

CMFCVisualManagerOfficeXP

CMFCVisualManagerOffice2003

CMFCVisualManagerOffice2007

Requisiti

Intestazione: afxvisualmanageroffice2007.h

CMFCVisualManagerOffice2007::AlwaysHighlight3DTabs

virtual BOOL AlwaysHighlight3DTabs() const;

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::CleanStyle

static void __stdcall CleanStyle();

Osservazioni:

CMFCVisualManagerOffice2007::GetCaptionBarTextColor

virtual COLORREF GetCaptionBarTextColor(CMFCCaptionBar* pBar);

Parametri

[in] pBar

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::GetHighlightedMenuItemTextColor

virtual COLORREF GetHighlightedMenuItemTextColor(CMFCToolBarMenuButton* pButton);

Parametri

[in] pButton

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::GetMenuItemTextColor

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

Parametri

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

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::GetNcBtnSize

virtual CSize GetNcBtnSize(BOOL bSmall) const;

Parametri

[in] bSmall

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::GetRibbonBar

CMFCRibbonBar* GetRibbonBar(CWnd* pWnd) const;

Parametri

[in] pWnd

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::GetRibbonHyperlinkTextColor

virtual COLORREF GetRibbonHyperlinkTextColor(CMFCRibbonLinkCtrl* pHyperLink);

Parametri

[in] pHyperLink

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::GetRibbonPopupBorderSize

virtual int GetRibbonPopupBorderSize(const CMFCRibbonPanelMenu* pPopup) const;

Parametri

[in] pPopup

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::GetRibbonQuickAccessToolBarChevronOffset

virtual int GetRibbonQuickAccessToolBarChevronOffset();

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::GetRibbonQuickAccessToolBarRightMargin

virtual int GetRibbonQuickAccessToolBarRightMargin();

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::GetRibbonQuickAccessToolBarTextColor

virtual COLORREF GetRibbonQuickAccessToolBarTextColor(BOOL bDisabled = FALSE);

Parametri

[in] bDisabled

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::GetRibbonStatusBarTextColor

virtual COLORREF GetRibbonStatusBarTextColor(CMFCRibbonStatusBar* pStatusBar);

Parametri

[in] pStatusBar

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::GetShowAllMenuItemsHeight

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

Parametri

[in] pDC
[in] sizeDefault

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::GetStatusBarPaneTextColor

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

Parametri

[in] pStatusBar
[in] pPane

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::GetTabFrameColors

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::GetTabHorzMargin

virtual int GetTabHorzMargin(const CMFCBaseTabCtrl* pTabWnd);

Parametri

[in] pTabWnd

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::GetTabTextColor

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

Parametri

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

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::GetToolbarButtonTextColor

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

Parametri

[in] pButton
[in] stato

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::GetToolbarDisabledTextColor

virtual COLORREF GetToolbarDisabledTextColor();

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::GetToolTipInfo

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

Parametri

[in] params
[in] nType

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::IsHighlightWholeMenuItem

virtual BOOL IsHighlightWholeMenuItem();

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::IsLayeredRibbonKeyTip

virtual BOOL IsLayeredRibbonKeyTip() const;

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::IsOwnerDrawCaption

virtual BOOL IsOwnerDrawCaption();

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::IsOwnerDrawMenuCheck

virtual BOOL IsOwnerDrawMenuCheck();

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::IsRibbonPresent

BOOL IsRibbonPresent(CWnd* pWnd) const;

Parametri

[in] pWnd

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawBarGripper

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawButtonBorder

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawButtonSeparator

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

Parametri

[in] pDC
[in] pButton
[in] rect
[in] stato
[in] bHorz

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawCaptionBarInfoArea

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawCheckBoxEx

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawComboBorder

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawComboDropButton

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawDefaultRibbonImage

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawEditBorder

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawFloatingToolbarBorder

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawHeaderCtrlBorder

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawMenuBorder

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawMenuCheck

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawMenuItemButton

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawMenuLabel

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

Parametri

[in] pDC
[in] rect

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawMenuResizeBar

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawMenuScrollButton

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawMenuSystemButton

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawMiniFrameBorder

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawOutlookBarSplitter

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

Parametri

[in] pDC
[in] rectSplitter

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawOutlookPageButtonBorder

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawPaneCaption

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

Parametri

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

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawPopupWindowCaption

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

Parametri

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

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawPropertySheetListItem

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

Parametri

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

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonApplicationButton

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

Parametri

[in] pDC
[in] pButton

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonButtonBorder

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

Parametri

[in] pDC
[in] pButton

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonButtonsGroup

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

Parametri

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

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonCaption

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonCaptionButton

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

Parametri

[in] pDC
[in] pButton

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonCategory

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonCategoryCaption

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

Parametri

[in] pDC
[in] pContextCaption

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonCategoryScroll

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

Parametri

[in] pDC
[in] pScroll

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonCategoryTab

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

Parametri

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

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonCheckBoxOnList

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonDefaultPaneButton

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

Parametri

[in] pDC
[in] pButton

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonDefaultPaneButtonIndicator

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonGalleryBorder

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonGalleryButton

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

Parametri

[in] pDC
[in] pButton

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonKeyTip

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

Parametri

[in] pDC
[in] pElement
[in] rect
[in] Str

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonMainPanelButtonBorder

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

Parametri

[in] pDC
[in] pButton

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonMainPanelFrame

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonMenuCheckFrame

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonPanel

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

Parametri

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

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonPanelCaption

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonProgressBar

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonRecentFilesFrame

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonSliderChannel

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonSliderThumb

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonSliderZoomButton

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonStatusBarPane

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

Parametri

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

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawRibbonTabsFrame

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

Parametri

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

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawScrollButtons

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawSeparator

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawShowAllMenuItems

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

Parametri

[in] pDC
[in] rect
[in] stato

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawStatusBarPaneBorder

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawStatusBarSizeBox

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawTab

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawTabsButtonBorder

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawTask

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawTasksGroupCaption

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnDrawTearOffCaption

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnEraseMDIClientArea

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

Parametri

[in] pDC
[in] rectClient

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::OnEraseTabsArea

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnEraseTabsButton

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnEraseTabsFrame

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

Parametri

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

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::OnFillBarBackground

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnFillButtonInterior

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnFillCaptionBarButton

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

Parametri

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

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::OnFillHighlightedArea

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnFillMiniFrameCaption

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

Parametri

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

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::OnFillOutlookBarCaption

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnFillOutlookPageButton

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnFillPopupWindowBackground

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

Parametri

[in] pDC
[in] rect

Osservazioni:

CMFCVisualManagerOffice2007::OnFillRibbonButton

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

Parametri

[in] pDC
[in] pButton

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::OnFillRibbonEdit

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnFillRibbonMainPanelButton

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

Parametri

[in] pDC
[in] pButton

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::OnFillRibbonMenuFrame

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnFillRibbonQuickAccessToolBarPopup

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnFillTab

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnHighlightMenuItem

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

Parametri

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

Osservazioni:

CMFCVisualManagerOffice2007::OnHighlightRarelyUsedMenuItems

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

Parametri

[in] pDC
[in] rectRarelyUsed

Osservazioni:

CMFCVisualManagerOffice2007::OnNcActivate

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

Parametri

[in] pWnd
[in] bActive

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::OnNcPaint

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

Parametri

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

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::OnSetWindowRegion

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

Parametri

[in] pWnd
[in] sizeWindow

Valore restituito

Osservazioni:

CMFCVisualManagerOffice2007::OnUpdateSystemColors

virtual void OnUpdateSystemColors();

Osservazioni:

CMFCVisualManagerOffice2007::SetResourceHandle

static void __stdcall SetResourceHandle(HINSTANCE hinstRes);

Parametri

[in] hinstRes

Osservazioni:

Vedi anche

Grafico della gerarchia
Classi
Classe CMFCVisualManager
Classe CMFCVisualManagerOfficeXP
Classe CMFCVisualManagerWindows