Classe CMFCVisualManagerOffice2007
CMFCVisualManagerOffice2007
fornece a um aplicativo uma aparência do Microsoft Office 2007.
Para obter mais detalhes, confira o código-fonte localizado na pasta VC\atlmfc\src\mfc de sua instalação do Visual Studio.
Sintaxe
class CMFCVisualManagerOffice2007 : public CMFCVisualManagerOffice2003
Membros
Métodos públicos
Comentários
Use CMFCVisualManagerOffice2007
para alterar a aparência visual do aplicativo para se parecer com a do Microsoft Office 2007. Esse gerenciador visual exige que você defina o estilo antes de usá-lo. Antes de passar esse gerenciador visual para CMFCVisualManager::SetDefaultManager
, você precisa chamar a função estática CMFCVisualManagerOffice2007::SetStyle
.
Exemplo
O exemplo a seguir demonstra como usar o gerenciador visual do Office 2007. Esse snippet de código faz parte do Exemplo de Demonstração de Alerta da Área de Trabalho.
CMFCVisualManagerOffice2007::SetStyle(CMFCVisualManagerOffice2007::Office2007_LunaBlue);
CMFCVisualManager::SetDefaultManager(RUNTIME_CLASS(CMFCVisualManagerOffice2007));
Hierarquia de herança
Requisitos
Cabeçalho: afxvisualmanageroffice2007.h
CMFCVisualManagerOffice2007::AlwaysHighlight3DTabs
virtual BOOL AlwaysHighlight3DTabs() const;
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::CleanStyle
static void __stdcall CleanStyle();
Comentários
CMFCVisualManagerOffice2007::GetCaptionBarTextColor
virtual COLORREF GetCaptionBarTextColor(CMFCCaptionBar* pBar);
Parâmetros
[in] pBar
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::GetHighlightedMenuItemTextColor
virtual COLORREF GetHighlightedMenuItemTextColor(CMFCToolBarMenuButton* pButton);
Parâmetros
[in] pButton
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::GetMenuItemTextColor
virtual COLORREF GetMenuItemTextColor(
CMFCToolBarMenuButton* pButton,
BOOL bHighlighted,
BOOL bDisabled);
Parâmetros
[in] pButton
[in] bHighlighted
[in] bDisabled
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::GetNcBtnSize
virtual CSize GetNcBtnSize(BOOL bSmall) const;
Parâmetros
[in] bSmall
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::GetRibbonBar
CMFCRibbonBar* GetRibbonBar(CWnd* pWnd) const;
Parâmetros
[in] pWnd
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::GetRibbonHyperlinkTextColor
virtual COLORREF GetRibbonHyperlinkTextColor(CMFCRibbonLinkCtrl* pHyperLink);
Parâmetros
[in] pHyperLink
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::GetRibbonPopupBorderSize
virtual int GetRibbonPopupBorderSize(const CMFCRibbonPanelMenu* pPopup) const;
Parâmetros
[in] pPopup
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::GetRibbonQuickAccessToolBarChevronOffset
virtual int GetRibbonQuickAccessToolBarChevronOffset();
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::GetRibbonQuickAccessToolBarRightMargin
virtual int GetRibbonQuickAccessToolBarRightMargin();
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::GetRibbonQuickAccessToolBarTextColor
virtual COLORREF GetRibbonQuickAccessToolBarTextColor(BOOL bDisabled = FALSE);
Parâmetros
[in] bDisabled
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::GetRibbonStatusBarTextColor
virtual COLORREF GetRibbonStatusBarTextColor(CMFCRibbonStatusBar* pStatusBar);
Parâmetros
[in] pStatusBar
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::GetShowAllMenuItemsHeight
virtual int GetShowAllMenuItemsHeight(
CDC* pDC,
const CSize& sizeDefault);
Parâmetros
[in] pDC
[in] sizeDefault
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::GetStatusBarPaneTextColor
virtual COLORREF GetStatusBarPaneTextColor(
CMFCStatusBar* pStatusBar,
CMFCStatusBarPaneInfo* pPane);
Parâmetros
[in] pStatusBar
[in] pPane
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::GetTabFrameColors
virtual void GetTabFrameColors(
const CMFCBaseTabCtrl* pTabWnd,
COLORREF& clrDark,
COLORREF& clrBlack,
COLORREF& clrHighlight,
COLORREF& clrFace,
COLORREF& clrDarkShadow,
COLORREF& clrLight,
CBrush*& pbrFace,
CBrush*& pbrBlack);
Parâmetros
[in] pTabWnd
[in] clrDark
[in] clrBlack
[in] clrHighlight
[in] clrFace
[in] clrDarkShadow
[in] clrLight
[in] pbrFace
[in] pbrBlack
Comentários
CMFCVisualManagerOffice2007::GetTabHorzMargin
virtual int GetTabHorzMargin(const CMFCBaseTabCtrl* pTabWnd);
Parâmetros
[in] pTabWnd
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::GetTabTextColor
virtual COLORREF GetTabTextColor(
const CMFCBaseTabCtrl* pTabWnd,
int iTab,
BOOL bIsActive);
Parâmetros
[in] pTabWnd
[in] iTab
[in] bIsActive
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::GetToolbarButtonTextColor
virtual COLORREF GetToolbarButtonTextColor(
CMFCToolBarButton* pButton,
CMFCVisualManager::AFX_BUTTON_STATE state);
Parâmetros
[in] pButton
[in] state
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::GetToolbarDisabledTextColor
virtual COLORREF GetToolbarDisabledTextColor();
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::GetToolTipInfo
virtual BOOL GetToolTipInfo(
CMFCToolTipInfo& params,
UINT nType = (UINT)(-1));
Parâmetros
[in] params
[in] nType
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::IsHighlightWholeMenuItem
virtual BOOL IsHighlightWholeMenuItem();
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::IsLayeredRibbonKeyTip
virtual BOOL IsLayeredRibbonKeyTip() const;
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::IsOwnerDrawCaption
virtual BOOL IsOwnerDrawCaption();
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::IsOwnerDrawMenuCheck
virtual BOOL IsOwnerDrawMenuCheck();
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::IsRibbonPresent
BOOL IsRibbonPresent(CWnd* pWnd) const;
Parâmetros
[in] pWnd
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::OnDrawBarGripper
virtual void OnDrawBarGripper(
CDC* pDC,
CRect rectGripper,
BOOL bHorz,
CBasePane* pBar);
Parâmetros
[in] pDC
[in] rectGripper
[in] bHorz
[in] pBar
Comentários
CMFCVisualManagerOffice2007::OnDrawButtonBorder
virtual void OnDrawButtonBorder(
CDC* pDC,
CMFCToolBarButton* pButton,
CRect rect,
CMFCVisualManager::AFX_BUTTON_STATE state);
Parâmetros
[in] pDC
[in] pButton
[in] rect
[in] state
Comentários
CMFCVisualManagerOffice2007::OnDrawButtonSeparator
virtual void OnDrawButtonSeparator(
CDC* pDC,
CMFCToolBarButton* pButton,
CRect rect,
CMFCVisualManager::AFX_BUTTON_STATE state,
BOOL bHorz);
Parâmetros
[in] pDC
[in] pButton
[in] rect
[in] state
[in] bHorz
Comentários
CMFCVisualManagerOffice2007::OnDrawCaptionBarInfoArea
virtual void OnDrawCaptionBarInfoArea(
CDC* pDC,
CMFCCaptionBar* pBar,
CRect rect);
Parâmetros
[in] pDC
[in] pBar
[in] rect
Comentários
CMFCVisualManagerOffice2007::OnDrawCheckBoxEx
virtual void OnDrawCheckBoxEx(
CDC* pDC,
CRect rect,
int nState,
BOOL bHighlighted,
BOOL bPressed,
BOOL bEnabled);
Parâmetros
[in] pDC
[in] rect
[in] nState
[in] bHighlighted
[in] bPressed
[in] bEnabled
Comentários
CMFCVisualManagerOffice2007::OnDrawComboBorder
virtual void OnDrawComboBorder(
CDC* pDC,
CRect rect,
BOOL bDisabled,
BOOL bIsDropped,
BOOL bIsHighlighted,
CMFCToolBarComboBoxButton* pButton);
Parâmetros
[in] pDC
[in] rect
[in] bDisabled
[in] bIsDropped
[in] bIsHighlighted
[in] pButton
Comentários
CMFCVisualManagerOffice2007::OnDrawComboDropButton
virtual void OnDrawComboDropButton(
CDC* pDC,
CRect rect,
BOOL bDisabled,
BOOL bIsDropped,
BOOL bIsHighlighted,
CMFCToolBarComboBoxButton* pButton);
Parâmetros
[in] pDC
[in] rect
[in] bDisabled
[in] bIsDropped
[in] bIsHighlighted
[in] pButton
Comentários
CMFCVisualManagerOffice2007::OnDrawDefaultRibbonImage
virtual void OnDrawDefaultRibbonImage(
CDC* pDC,
CRect rectImage,
BOOL bIsDisabled = FALSE,
BOOL bIsPressed = FALSE,
BOOL bIsHighlighted = FALSE);
Parâmetros
[in] pDC
[in] rectImage
[in] bIsDisabled
[in] bIsPressed
[in] bIsHighlighted
Comentários
CMFCVisualManagerOffice2007::OnDrawEditBorder
virtual void OnDrawEditBorder(
CDC* pDC,
CRect rect,
BOOL bDisabled,
BOOL bIsHighlighted,
CMFCToolBarEditBoxButton* pButton);
Parâmetros
[in] pDC
[in] rect
[in] bDisabled
[in] bIsHighlighted
[in] pButton
Comentários
CMFCVisualManagerOffice2007::OnDrawFloatingToolbarBorder
virtual void OnDrawFloatingToolbarBorder(
CDC* pDC,
CMFCBaseToolBar* pToolBar,
CRect rectBorder,
CRect rectBorderSize);
Parâmetros
[in] pDC
[in] pToolBar
[in] rectBorder
[in] rectBorderSize
Comentários
CMFCVisualManagerOffice2007::OnDrawHeaderCtrlBorder
virtual void OnDrawHeaderCtrlBorder(
CMFCHeaderCtrl* pCtrl,
CDC* pDC,
CRect& rect,
BOOL bIsPressed,
BOOL bIsHighlighted);
Parâmetros
[in] pCtrl
[in] pDC
[in] rect
[in] bIsPressed
[in] bIsHighlighted
Comentários
CMFCVisualManagerOffice2007::OnDrawMenuBorder
virtual void OnDrawMenuBorder(
CDC* pDC,
CMFCPopu* pMenu,
CRect rect);
Parâmetros
[in] pDC
[in] pMenu
[in] rect
Comentários
CMFCVisualManagerOffice2007::OnDrawMenuCheck
virtual void OnDrawMenuCheck(
CDC* pDC,
CMFCToolBarMenuButton* pButton,
CRect rect,
BOOL bHighlight,
BOOL bIsRadio);
Parâmetros
[in] pDC
[in] pButton
[in] rect
[in] bHighlight
[in] bIsRadio
Comentários
CMFCVisualManagerOffice2007::OnDrawMenuItemButton
virtual void OnDrawMenuItemButton(
CDC* pDC,
CMFCToolBarMenuButton* pButton,
CRect rectButton,
BOOL bHighlight,
BOOL bDisabled);
Parâmetros
[in] pDC
[in] pButton
[in] rectButton
[in] bHighlight
[in] bDisabled
Comentários
CMFCVisualManagerOffice2007::OnDrawMenuLabel
virtual COLORREF OnDrawMenuLabel(
CDC* pDC,
CRect rect);
Parâmetros
[in] pDC
[in] rect
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::OnDrawMenuResizeBar
virtual void OnDrawMenuResizeBar(
CDC* pDC,
CRect rect,
int nResizeFlags);
Parâmetros
[in] pDC
[in] rect
[in] nResizeFlags
Comentários
CMFCVisualManagerOffice2007::OnDrawMenuScrollButton
virtual void OnDrawMenuScrollButton(
CDC* pDC,
CRect rect,
BOOL bIsScrollDown,
BOOL bIsHighlited,
BOOL bIsPressed,
BOOL bIsDisabled);
Parâmetros
[in] pDC
[in] rect
[in] bIsScrollDown
[in] bIsHighlited
[in] bIsPressed
[in] bIsDisabled
Comentários
CMFCVisualManagerOffice2007::OnDrawMenuSystemButton
virtual void OnDrawMenuSystemButton(
CDC* pDC,
CRect rect,
UINT uiSystemCommand,
UINT nStyle,
BOOL bHighlight);
Parâmetros
[in] pDC
[in] rect
[in] uiSystemCommand
[in] nStyle
[in] bHighlight
Comentários
CMFCVisualManagerOffice2007::OnDrawMiniFrameBorder
virtual void OnDrawMiniFrameBorder(
CDC* pDC,
CPaneFrameWnd* pFrameWnd,
CRect rectBorder,
CRect rectBorderSize);
Parâmetros
[in] pDC
[in] pFrameWnd
[in] rectBorder
[in] rectBorderSize
Comentários
CMFCVisualManagerOffice2007::OnDrawOutlookBarSplitter
virtual void OnDrawOutlookBarSplitter(
CDC* pDC,
CRect rectSplitter);
Parâmetros
[in] pDC
[in] rectSplitter
Comentários
CMFCVisualManagerOffice2007::OnDrawOutlookPageButtonBorder
virtual void OnDrawOutlookPageButtonBorder(
CDC* pDC,
CRect& rectBtn,
BOOL bIsHighlighted,
BOOL bIsPressed);
Parâmetros
[in] pDC
[in] rectBtn
[in] bIsHighlighted
[in] bIsPressed
Comentários
CMFCVisualManagerOffice2007::OnDrawPaneCaption
virtual COLORREF OnDrawPaneCaption(
CDC* pDC,
CDockablePane* pBar,
BOOL bActive,
CRect rectCaption,
CRect rectButtons);
Parâmetros
[in] pDC
[in] pBar
[in] bActive
[in] rectCaption
[in] rectButtons
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::OnDrawPopupWindowCaption
virtual COLORREF OnDrawPopupWindowCaption(
CDC* pDC,
CRect rectCaption,
CMFCDesktopAlertWnd* pPopupWnd);
Parâmetros
[in] pDC
[in] rectCaption
[in] pPopupWnd
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::OnDrawPropertySheetListItem
virtual COLORREF OnDrawPropertySheetListItem(
CDC* pDC,
CMFCPropertySheet* pParent,
CRect rect,
BOOL bIsHighlihted,
BOOL bIsSelected);
Parâmetros
[in] pDC
[in] pParent
[in] rect
[in] bIsHighlihted
[in] bIsSelected
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonApplicationButton
virtual void OnDrawRibbonApplicationButton(
CDC* pDC,
CMFCRibbonButton* pButton);
Parâmetros
[in] pDC
[in] pButton
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonButtonBorder
virtual void OnDrawRibbonButtonBorder(
CDC* pDC,
CMFCRibbonButton* pButton);
Parâmetros
[in] pDC
[in] pButton
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonButtonsGroup
virtual COLORREF OnDrawRibbonButtonsGroup(
CDC* pDC,
CMFCRibbonButtonsGroup* pGroup,
CRect rectGroup);
Parâmetros
[in] pDC
[in] pGroup
[in] rectGroup
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonCaption
virtual void OnDrawRibbonCaption(
CDC* pDC,
CMFCRibbonBar* pBar,
CRect rectCaption,
CRect rectText);
Parâmetros
[in] pDC
[in] pBar
[in] rectCaption
[in] rectText
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonCaptionButton
virtual void OnDrawRibbonCaptionButton(
CDC* pDC,
CMFCRibbonCaptionButton* pButton);
Parâmetros
[in] pDC
[in] pButton
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonCategory
virtual void OnDrawRibbonCategory(
CDC* pDC,
CMFCRibbonCategory* pCategory,
CRect rectCategory);
Parâmetros
[in] pDC
[in] pCategory
[in] rectCategory
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonCategoryCaption
virtual COLORREF OnDrawRibbonCategoryCaption(
CDC* pDC,
CMFCRibbonContextCaption* pContextCaption);
Parâmetros
[in] pDC
[in] pContextCaption
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonCategoryScroll
virtual void OnDrawRibbonCategoryScroll(
CDC* pDC,
CRibbonCategoryScroll* pScroll);
Parâmetros
[in] pDC
[in] pScroll
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonCategoryTab
virtual COLORREF OnDrawRibbonCategoryTab(
CDC* pDC,
CMFCRibbonTab* pTab,
BOOL bIsActive);
Parâmetros
[in] pDC
[in] pTab
[in] bIsActive
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonCheckBoxOnList
virtual void OnDrawRibbonCheckBoxOnList(
CDC* pDC,
CMFCRibbonCheckBox* pCheckBox,
CRect rect,
BOOL bIsSelected,
BOOL bHighlighted);
Parâmetros
[in] pDC
[in] pCheckBox
[in] rect
[in] bIsSelected
[in] bHighlighted
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonDefaultPaneButton
virtual void OnDrawRibbonDefaultPaneButton(
CDC* pDC,
CMFCRibbonButton* pButton);
Parâmetros
[in] pDC
[in] pButton
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonDefaultPaneButtonIndicator
virtual void OnDrawRibbonDefaultPaneButtonIndicator(
CDC* pDC,
CMFCRibbonButton* pButton,
CRect rect,
BOOL bIsSelected,
BOOL bHighlighted);
Parâmetros
[in] pDC
[in] pButton
[in] rect
[in] bIsSelected
[in] bHighlighted
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonGalleryBorder
virtual void OnDrawRibbonGalleryBorder(
CDC* pDC,
CMFCRibbonGallery* pButton,
CRect rectBorder);
Parâmetros
[in] pDC
[in] pButton
[in] rectBorder
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonGalleryButton
virtual void OnDrawRibbonGalleryButton(
CDC* pDC,
CMFCRibbonGalleryIcon* pButton);
Parâmetros
[in] pDC
[in] pButton
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonKeyTip
virtual void OnDrawRibbonKeyTip(
CDC* pDC,
CMFCRibbonBaseElement* pElement,
CRect rect,
CString str);
Parâmetros
[in] pDC
[in] pElement
[in] rect
[in] str
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonMainPanelButtonBorder
virtual void OnDrawRibbonMainPanelButtonBorder(
CDC* pDC,
CMFCRibbonButton* pButton);
Parâmetros
[in] pDC
[in] pButton
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonMainPanelFrame
virtual void OnDrawRibbonMainPanelFrame(
CDC* pDC,
CMFCRibbonMainPanel* pPanel,
CRect rect);
Parâmetros
[in] pDC
[in] pPanel
[in] rect
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonMenuCheckFrame
virtual void OnDrawRibbonMenuCheckFrame(
CDC* pDC,
CMFCRibbonButton* pButton,
CRect rect);
Parâmetros
[in] pDC
[in] pButton
[in] rect
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonPanel
virtual COLORREF OnDrawRibbonPanel(
CDC* pDC,
CMFCRibbonPanel* pPanel,
CRect rectPanel,
CRect rectCaption);
Parâmetros
[in] pDC
[in] pPanel
[in] rectPanel
[in] rectCaption
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonPanelCaption
virtual void OnDrawRibbonPanelCaption(
CDC* pDC,
CMFCRibbonPanel* pPanel,
CRect rectCaption);
Parâmetros
[in] pDC
[in] pPanel
[in] rectCaption
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonProgressBar
virtual void OnDrawRibbonProgressBar(
CDC* pDC,
CMFCRibbonProgressBar* pProgress,
CRect rectProgress,
CRect rectChunk,
BOOL bInfiniteMode);
Parâmetros
[in] pDC
[in] pProgress
[in] rectProgress
[in] rectChunk
[in] bInfiniteMode
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonRecentFilesFrame
virtual void OnDrawRibbonRecentFilesFrame(
CDC* pDC,
CMFCRibbonMainPanel* pPanel,
CRect rect);
Parâmetros
[in] pDC
[in] pPanel
[in] rect
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonSliderChannel
virtual void OnDrawRibbonSliderChannel(
CDC* pDC,
CMFCRibbonSlider* pSlider,
CRect rect);
Parâmetros
[in] pDC
[in] pSlider
[in] rect
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonSliderThumb
virtual void OnDrawRibbonSliderThumb(
CDC* pDC,
CMFCRibbonSlider* pSlider,
CRect rect,
BOOL bIsHighlighted,
BOOL bIsPressed,
BOOL bIsDisabled);
Parâmetros
[in] pDC
[in] pSlider
[in] rect
[in] bIsHighlighted
[in] bIsPressed
[in] bIsDisabled
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonSliderZoomButton
virtual void OnDrawRibbonSliderZoomButton(
CDC* pDC,
CMFCRibbonSlider* pSlider,
CRect rect,
BOOL bIsZoomOut,
BOOL bIsHighlighted,
BOOL bIsPressed,
BOOL bIsDisabled);
Parâmetros
[in] pDC
[in] pSlider
[in] rect
[in] bIsZoomOut
[in] bIsHighlighted
[in] bIsPressed
[in] bIsDisabled
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonStatusBarPane
virtual COLORREF OnDrawRibbonStatusBarPane(
CDC* pDC,
CMFCRibbonStatusBar* pBar,
CMFCRibbonStatusBarPane* pPane);
Parâmetros
[in] pDC
[in] pBar
[in] pPane
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::OnDrawRibbonTabsFrame
virtual COLORREF OnDrawRibbonTabsFrame(
CDC* pDC,
CMFCRibbonBar* pWndRibbonBar,
CRect rectTab);
Parâmetros
[in] pDC
[in] pWndRibbonBar
[in] rectTab
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::OnDrawScrollButtons
virtual void OnDrawScrollButtons(
CDC* pDC,
const CRect& rect,
const int nBorderSize,
int iImage,
BOOL bHilited);
Parâmetros
[in] pDC
[in] rect
[in] nBorderSize
[in] iImage
[in] bHilited
Comentários
CMFCVisualManagerOffice2007::OnDrawSeparator
virtual void OnDrawSeparator(
CDC* pDC,
CBasePane* pBar,
CRect rect,
BOOL bIsHoriz);
Parâmetros
[in] pDC
[in] pBar
[in] rect
[in] bIsHoriz
Comentários
CMFCVisualManagerOffice2007::OnDrawShowAllMenuItems
virtual void OnDrawShowAllMenuItems(
CDC* pDC,
CRect rect,
CMFCVisualManager::AFX_BUTTON_STATE state);
Parâmetros
[in] pDC
[in] rect
[in] state
Comentários
CMFCVisualManagerOffice2007::OnDrawStatusBarPaneBorder
virtual void OnDrawStatusBarPaneBorder(
CDC* pDC,
CMFCStatusBar* pBar,
CRect rectPane,
UINT uiID,
UINT nStyle);
Parâmetros
[in] pDC
[in] pBar
[in] rectPane
[in] uiID
[in] nStyle
Comentários
CMFCVisualManagerOffice2007::OnDrawStatusBarSizeBox
virtual void OnDrawStatusBarSizeBox(
CDC* pDC,
CMFCStatusBar* pStatBar,
CRect rectSizeBox);
Parâmetros
[in] pDC
[in] pStatBar
[in] rectSizeBox
Comentários
CMFCVisualManagerOffice2007::OnDrawTab
virtual void OnDrawTab(
CDC* pDC,
CRect rectTab,
int iTab,
BOOL bIsActive,
const CMFCBaseTabCtrl* pTabWnd);
Parâmetros
[in] pDC
[in] rectTab
[in] iTab
[in] bIsActive
[in] pTabWnd
Comentários
CMFCVisualManagerOffice2007::OnDrawTabsButtonBorder
virtual void OnDrawTabsButtonBorder(
CDC* pDC,
CRect& rect,
CMFCButton* pButton,
UINT uiState,
CMFCBaseTabCtrl* pWndTab);
Parâmetros
[in] pDC
[in] rect
[in] pButton
[in] uiState
[in] pWndTab
Comentários
CMFCVisualManagerOffice2007::OnDrawTask
virtual void OnDrawTask(
CDC* pDC,
CMFCTasksPaneTask* pTask,
CImageList* pIcons,
BOOL bIsHighlighted = FALSE,
BOOL bIsSelected = FALSE);
Parâmetros
[in] pDC
[in] pTask
[in] pIcons
[in] bIsHighlighted
[in] bIsSelected
Comentários
CMFCVisualManagerOffice2007::OnDrawTasksGroupCaption
virtual void OnDrawTasksGroupCaption(
CDC* pDC,
CMFCTasksPaneTaskGroup* pGroup,
BOOL bIsHighlighted = FALSE,
BOOL bIsSelected = FALSE,
BOOL bCanCollapse = FALSE);
Parâmetros
[in] pDC
[in] pGroup
[in] bIsHighlighted
[in] bIsSelected
[in] bCanCollapse
Comentários
CMFCVisualManagerOffice2007::OnDrawTearOffCaption
virtual void OnDrawTearOffCaption(
CDC* pDC,
CRect rect,
BOOL bIsActive);
Parâmetros
[in] pDC
[in] rect
[in] bIsActive
Comentários
CMFCVisualManagerOffice2007::OnEraseMDIClientArea
virtual BOOL OnEraseMDIClientArea(
CDC* pDC,
CRect rectClient);
Parâmetros
[in] pDC
[in] rectClient
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::OnEraseTabsArea
virtual void OnEraseTabsArea(
CDC* pDC,
CRect rect,
const CMFCBaseTabCtrl* pTabWnd);
Parâmetros
[in] pDC
[in] rect
[in] pTabWnd
Comentários
CMFCVisualManagerOffice2007::OnEraseTabsButton
virtual void OnEraseTabsButton(
CDC* pDC,
CRect rect,
CMFCButton* pButton,
CMFCBaseTabCtrl* pWndTab);
Parâmetros
[in] pDC
[in] rect
[in] pButton
[in] pWndTab
Comentários
CMFCVisualManagerOffice2007::OnEraseTabsFrame
virtual BOOL OnEraseTabsFrame(
CDC* pDC,
CRect rect,
const CMFCBaseTabCtrl* pTabWnd);
Parâmetros
[in] pDC
[in] rect
[in] pTabWnd
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::OnFillBarBackground
virtual void OnFillBarBackground(
CDC* pDC,
CBasePane* pBar,
CRect rectClient,
CRect rectClip,
BOOL bNCArea = FALSE);
Parâmetros
[in] pDC
[in] pBar
[in] rectClient
[in] rectClip
[in] bNCArea
Comentários
CMFCVisualManagerOffice2007::OnFillButtonInterior
virtual void OnFillButtonInterior(
CDC* pDC,
CMFCToolBarButton* pButton,
CRect rect,
CMFCVisualManager::AFX_BUTTON_STATE state);
Parâmetros
[in] pDC
[in] pButton
[in] rect
[in] state
Comentários
CMFCVisualManagerOffice2007::OnFillCaptionBarButton
virtual COLORREF OnFillCaptionBarButton(
CDC* pDC,
CMFCCaptionBar* pBar,
CRect rect,
BOOL bIsPressed,
BOOL bIsHighlighted,
BOOL bIsDisabled,
BOOL bHasDropDownArrow,
BOOL bIsSysButton);
Parâmetros
[in] pDC
[in] pBar
[in] rect
[in] bIsPressed
[in] bIsHighlighted
[in] bIsDisabled
[in] bHasDropDownArrow
[in] bIsSysButton
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::OnFillHighlightedArea
virtual void OnFillHighlightedArea(
CDC* pDC,
CRect rect,
CBrush* pBrush,
CMFCToolBarButton* pButton);
Parâmetros
[in] pDC
[in] rect
[in] pBrush
[in] pButton
Comentários
CMFCVisualManagerOffice2007::OnFillMiniFrameCaption
virtual COLORREF OnFillMiniFrameCaption(
CDC* pDC,
CRect rectCaption,
CPaneFrameWnd* pFrameWnd,
BOOL bActive);
Parâmetros
[in] pDC
[in] rectCaption
[in] pFrameWnd
[in] bActive
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::OnFillOutlookBarCaption
virtual void OnFillOutlookBarCaption(
CDC* pDC,
CRect rectCaption,
COLORREF& clrText);
Parâmetros
[in] pDC
[in] rectCaption
[in] clrText
Comentários
CMFCVisualManagerOffice2007::OnFillOutlookPageButton
virtual void OnFillOutlookPageButton(
CDC* pDC,
const CRect& rect,
BOOL bIsHighlighted,
BOOL bIsPressed,
COLORREF& clrText);
Parâmetros
[in] pDC
[in] rect
[in] bIsHighlighted
[in] bIsPressed
[in] clrText
Comentários
CMFCVisualManagerOffice2007::OnFillPopupWindowBackground
virtual void OnFillPopupWindowBackground(
CDC* pDC,
CRect rect);
Parâmetros
[in] pDC
[in] rect
Comentários
CMFCVisualManagerOffice2007::OnFillRibbonButton
virtual COLORREF OnFillRibbonButton(
CDC* pDC,
CMFCRibbonButton* pButton);
Parâmetros
[in] pDC
[in] pButton
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::OnFillRibbonEdit
virtual void OnFillRibbonEdit(
CDC* pDC,
CMFCRibbonRichEditCtrl* pEdit,
CRect rect,
BOOL bIsHighlighted,
BOOL bIsPaneHighlighted,
BOOL bIsDisabled,
COLORREF& clrText,
COLORREF& clrSelBackground,
COLORREF& clrSelText);
Parâmetros
[in] pDC
[in] pEdit
[in] rect
[in] bIsHighlighted
[in] bIsPaneHighlighted
[in] bIsDisabled
[in] clrText
[in] clrSelBackground
[in] clrSelText
Comentários
CMFCVisualManagerOffice2007::OnFillRibbonMainPanelButton
virtual COLORREF OnFillRibbonMainPanelButton(
CDC* pDC,
CMFCRibbonButton* pButton);
Parâmetros
[in] pDC
[in] pButton
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::OnFillRibbonMenuFrame
virtual void OnFillRibbonMenuFrame(
CDC* pDC,
CMFCRibbonMainPanel* pPanel,
CRect rect);
Parâmetros
[in] pDC
[in] pPanel
[in] rect
Comentários
CMFCVisualManagerOffice2007::OnFillRibbonQuickAccessToolBarPopup
virtual void OnFillRibbonQuickAccessToolBarPopup(
CDC* pDC,
CMFCRibbonPanelMenuBar* pMenuBar,
CRect rect);
Parâmetros
[in] pDC
[in] pMenuBar
[in] rect
Comentários
CMFCVisualManagerOffice2007::OnFillTab
virtual void OnFillTab(
CDC* pDC,
CRect rectFill,
CBrush* pbrFill,
int iTab,
BOOL bIsActive,
const CMFCBaseTabCtrl* pTabWnd);
Parâmetros
[in] pDC
[in] rectFill
[in] pbrFill
[in] iTab
[in] bIsActive
[in] pTabWnd
Comentários
CMFCVisualManagerOffice2007::OnHighlightMenuItem
virtual void OnHighlightMenuItem(
CDC* pDC,
CMFCToolBarMenuButton* pButton,
CRect rect,
COLORREF& clrText);
Parâmetros
[in] pDC
[in] pButton
[in] rect
[in] clrText
Comentários
CMFCVisualManagerOffice2007::OnHighlightRarelyUsedMenuItems
virtual void OnHighlightRarelyUsedMenuItems(
CDC* pDC,
CRect rectRarelyUsed);
Parâmetros
[in] pDC
[in] rectRarelyUsed
Comentários
CMFCVisualManagerOffice2007::OnNcActivate
virtual BOOL OnNcActivate(
CWnd* pWnd,
BOOL bActive);
Parâmetros
[in] pWnd
[in] bActive
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::OnNcPaint
virtual BOOL OnNcPaint(
CWnd* pWnd,
const CObList& lstSysButtons,
CRect rectRedraw);
Parâmetros
[in] pWnd
[in] lstSysButtons
[in] rectRedraw
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::OnSetWindowRegion
virtual BOOL OnSetWindowRegion(
CWnd* pWnd,
CSize sizeWindow);
Parâmetros
[in] pWnd
[in] sizeWindow
Valor de retorno
Comentários
CMFCVisualManagerOffice2007::OnUpdateSystemColors
virtual void OnUpdateSystemColors();
Comentários
CMFCVisualManagerOffice2007::SetResourceHandle
static void __stdcall SetResourceHandle(HINSTANCE hinstRes);
Parâmetros
[in] hinstRes
Comentários
Confira também
Gráfico da hierarquia
Classes
Classe CMFCVisualManager
Classe CMFCVisualManagerOfficeXP
Classe CMFCVisualManagerWindows