CMFCVisualManagerOffice2007 – třída
CMFCVisualManagerOffice2007
poskytuje aplikaci vzhled systém Microsoft Office 2007.
Další podrobnosti najdete ve zdrojovém kódu ve složce VC\atlmfc\src\mfc instalace sady Visual Studio.
Syntaxe
class CMFCVisualManagerOffice2007 : public CMFCVisualManagerOffice2003
Členové
Veřejné metody
Poznámky
Slouží CMFCVisualManagerOffice2007
ke změně vizuálního vzhledu aplikace tak, aby připomínala vzhled aplikace systém Microsoft Office 2007. Tento správce vizuálů vyžaduje, abyste před použitím nastavili styl. Před předáním tohoto správce vizuálů CMFCVisualManager::SetDefaultManager
musíte zavolat statickou funkci CMFCVisualManagerOffice2007::SetStyle
.
Příklad
Následující příklad ukazuje, jak používat Visual Manager Office 2007. Tento fragment kódu je součástí ukázky ukázky upozornění na ploše.
CMFCVisualManagerOffice2007::SetStyle(CMFCVisualManagerOffice2007::Office2007_LunaBlue);
CMFCVisualManager::SetDefaultManager(RUNTIME_CLASS(CMFCVisualManagerOffice2007));
Hierarchie dědičnosti
Požadavky
Hlavička: afxvisualmanageroffice2007.h
CMFCVisualManagerOffice2007::AlwaysHighlight3DTabs
virtual BOOL AlwaysHighlight3DTabs() const;
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::CleanStyle
static void __stdcall CleanStyle();
Poznámky
CMFCVisualManagerOffice2007::GetCaptionBarTextColor
virtual COLORREF GetCaptionBarTextColor(CMFCCaptionBar* pBar);
Parametry
[v] pBar
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::GetHighlightedMenuItemTextColor
virtual COLORREF GetHighlightedMenuItemTextColor(CMFCToolBarMenuButton* pButton);
Parametry
[v] pButton
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::GetMenuItemTextColor
virtual COLORREF GetMenuItemTextColor(
CMFCToolBarMenuButton* pButton,
BOOL bHighlighted,
BOOL bDisabled);
Parametry
[v] pButton
[v] bHighlighted
[v] bDisabled
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::GetNcBtnSize
virtual CSize GetNcBtnSize(BOOL bSmall) const;
Parametry
[v] bSmall
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::GetRibbonBar
CMFCRibbonBar* GetRibbonBar(CWnd* pWnd) const;
Parametry
[v] pWnd
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::GetRibbonHyperlinkTextColor
virtual COLORREF GetRibbonHyperlinkTextColor(CMFCRibbonLinkCtrl* pHyperLink);
Parametry
[v] pHyperLink
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::GetRibbonPopupBorderSize
virtual int GetRibbonPopupBorderSize(const CMFCRibbonPanelMenu* pPopup) const;
Parametry
[v] pPopup
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::GetRibbonQuickAccessToolBarChevronOffset
virtual int GetRibbonQuickAccessToolBarChevronOffset();
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::GetRibbonQuickAccessToolBarRightMargin
virtual int GetRibbonQuickAccessToolBarRightMargin();
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::GetRibbonQuickAccessToolBarTextColor
virtual COLORREF GetRibbonQuickAccessToolBarTextColor(BOOL bDisabled = FALSE);
Parametry
[v] bDisabled
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::GetRibbonStatusBarTextColor
virtual COLORREF GetRibbonStatusBarTextColor(CMFCRibbonStatusBar* pStatusBar);
Parametry
[v] pStatusBar
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::GetShowAllMenuItemsHeight
virtual int GetShowAllMenuItemsHeight(
CDC* pDC,
const CSize& sizeDefault);
Parametry
[v] pDC
[v] sizeDefault
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::GetStatusBarPaneTextColor
virtual COLORREF GetStatusBarPaneTextColor(
CMFCStatusBar* pStatusBar,
CMFCStatusBarPaneInfo* pPane);
Parametry
[v] pStatusBar
[v] pPane
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::GetTabFrameColors
virtual void GetTabFrameColors(
const CMFCBaseTabCtrl* pTabWnd,
COLORREF& clrDark,
COLORREF& clrBlack,
COLORREF& clrHighlight,
COLORREF& clrFace,
COLORREF& clrDarkShadow,
COLORREF& clrLight,
CBrush*& pbrFace,
CBrush*& pbrBlack);
Parametry
[v] pTabWnd
[v] clrDark
[v] clrBlack
[v] clrHighlight
[v] clrFace
[v] clrDarkShadow
[v] clrLight
[v] pbrFace
[v] pbrBlack
Poznámky
CMFCVisualManagerOffice2007::GetTabHorzMargin
virtual int GetTabHorzMargin(const CMFCBaseTabCtrl* pTabWnd);
Parametry
[v] pTabWnd
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::GetTabTextColor
virtual COLORREF GetTabTextColor(
const CMFCBaseTabCtrl* pTabWnd,
int iTab,
BOOL bIsActive);
Parametry
[v] pTabWnd
[v] iTab
[v] bIsActive
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::GetToolbarButtonTextColor
virtual COLORREF GetToolbarButtonTextColor(
CMFCToolBarButton* pButton,
CMFCVisualManager::AFX_BUTTON_STATE state);
Parametry
[v] pButton
[v] stát
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::GetToolbarDisabledTextColor
virtual COLORREF GetToolbarDisabledTextColor();
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::GetToolTipInfo
virtual BOOL GetToolTipInfo(
CMFCToolTipInfo& params,
UINT nType = (UINT)(-1));
Parametry
[v] parametry
[v] nType
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::IsHighlightWholeMenuItem
virtual BOOL IsHighlightWholeMenuItem();
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::IsLayeredRibbonKeyTip
virtual BOOL IsLayeredRibbonKeyTip() const;
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::IsOwnerDrawCaption
virtual BOOL IsOwnerDrawCaption();
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::IsOwnerDrawMenuCheck
virtual BOOL IsOwnerDrawMenuCheck();
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::IsRibbonPresent
BOOL IsRibbonPresent(CWnd* pWnd) const;
Parametry
[v] pWnd
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::OnDrawBarGripper
virtual void OnDrawBarGripper(
CDC* pDC,
CRect rectGripper,
BOOL bHorz,
CBasePane* pBar);
Parametry
[v] pDC
[v] rectGripper
[v] bHorz
[v] pBar
Poznámky
CMFCVisualManagerOffice2007::OnDrawButtonBorder
virtual void OnDrawButtonBorder(
CDC* pDC,
CMFCToolBarButton* pButton,
CRect rect,
CMFCVisualManager::AFX_BUTTON_STATE state);
Parametry
[v] pDC
[v] pButton
[v] Rect
[v] stát
Poznámky
CMFCVisualManagerOffice2007::OnDrawButtonSeparator
virtual void OnDrawButtonSeparator(
CDC* pDC,
CMFCToolBarButton* pButton,
CRect rect,
CMFCVisualManager::AFX_BUTTON_STATE state,
BOOL bHorz);
Parametry
[v] pDC
[v] pButton
[v] Rect
[v] stát
[v] bHorz
Poznámky
CMFCVisualManagerOffice2007::OnDrawCaptionBarInfoArea
virtual void OnDrawCaptionBarInfoArea(
CDC* pDC,
CMFCCaptionBar* pBar,
CRect rect);
Parametry
[v] pDC
[v] pBar
[v] Rect
Poznámky
CMFCVisualManagerOffice2007::OnDrawCheckBoxEx
virtual void OnDrawCheckBoxEx(
CDC* pDC,
CRect rect,
int nState,
BOOL bHighlighted,
BOOL bPressed,
BOOL bEnabled);
Parametry
[v] pDC
[v] Rect
[v] nState
[v] bHighlighted
[v] bPressed
[v] bEnabled
Poznámky
CMFCVisualManagerOffice2007::OnDrawComboBorder
virtual void OnDrawComboBorder(
CDC* pDC,
CRect rect,
BOOL bDisabled,
BOOL bIsDropped,
BOOL bIsHighlighted,
CMFCToolBarComboBoxButton* pButton);
Parametry
[v] pDC
[v] Rect
[v] bDisabled
[v] BIsDropped
[v] bIsHighlighted
[v] pButton
Poznámky
CMFCVisualManagerOffice2007::OnDrawComboDropButton
virtual void OnDrawComboDropButton(
CDC* pDC,
CRect rect,
BOOL bDisabled,
BOOL bIsDropped,
BOOL bIsHighlighted,
CMFCToolBarComboBoxButton* pButton);
Parametry
[v] pDC
[v] Rect
[v] bDisabled
[v] BIsDropped
[v] bIsHighlighted
[v] pButton
Poznámky
CMFCVisualManagerOffice2007::OnDrawDefaultRibbonImage
virtual void OnDrawDefaultRibbonImage(
CDC* pDC,
CRect rectImage,
BOOL bIsDisabled = FALSE,
BOOL bIsPressed = FALSE,
BOOL bIsHighlighted = FALSE);
Parametry
[v] pDC
[v] rectImage
[v] bIsDisabled
[v] bIsPressed
[v] bIsHighlighted
Poznámky
CMFCVisualManagerOffice2007::OnDrawEditBorder
virtual void OnDrawEditBorder(
CDC* pDC,
CRect rect,
BOOL bDisabled,
BOOL bIsHighlighted,
CMFCToolBarEditBoxButton* pButton);
Parametry
[v] pDC
[v] Rect
[v] bDisabled
[v] bIsHighlighted
[v] pButton
Poznámky
CMFCVisualManagerOffice2007::OnDrawFloatingToolbarBorder
virtual void OnDrawFloatingToolbarBorder(
CDC* pDC,
CMFCBaseToolBar* pToolBar,
CRect rectBorder,
CRect rectBorderSize);
Parametry
[v] pDC
[v] pToolBar
[v] rectBorder
[v] rectBorderSize
Poznámky
CMFCVisualManagerOffice2007::OnDrawHeaderCtrlBorder
virtual void OnDrawHeaderCtrlBorder(
CMFCHeaderCtrl* pCtrl,
CDC* pDC,
CRect& rect,
BOOL bIsPressed,
BOOL bIsHighlighted);
Parametry
[v] pCtrl
[v] pDC
[v] Rect
[v] bIsPressed
[v] bIsHighlighted
Poznámky
CMFCVisualManagerOffice2007::OnDrawMenuBorder
virtual void OnDrawMenuBorder(
CDC* pDC,
CMFCPopu* pMenu,
CRect rect);
Parametry
[v] pDC
[v] pMenu
[v] Rect
Poznámky
CMFCVisualManagerOffice2007::OnDrawMenuCheck
virtual void OnDrawMenuCheck(
CDC* pDC,
CMFCToolBarMenuButton* pButton,
CRect rect,
BOOL bHighlight,
BOOL bIsRadio);
Parametry
[v] pDC
[v] pButton
[v] Rect
[v] bHighlight
[v] bIsRadio
Poznámky
CMFCVisualManagerOffice2007::OnDrawMenuItemButton
virtual void OnDrawMenuItemButton(
CDC* pDC,
CMFCToolBarMenuButton* pButton,
CRect rectButton,
BOOL bHighlight,
BOOL bDisabled);
Parametry
[v] pDC
[v] pButton
[v] rectButton
[v] bHighlight
[v] bDisabled
Poznámky
CMFCVisualManagerOffice2007::OnDrawMenuLabel
virtual COLORREF OnDrawMenuLabel(
CDC* pDC,
CRect rect);
Parametry
[v] pDC
[v] Rect
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::OnDrawMenuResizeBar
virtual void OnDrawMenuResizeBar(
CDC* pDC,
CRect rect,
int nResizeFlags);
Parametry
[v] pDC
[v] Rect
[v] nResizeFlags
Poznámky
CMFCVisualManagerOffice2007::OnDrawMenuScrollButton
virtual void OnDrawMenuScrollButton(
CDC* pDC,
CRect rect,
BOOL bIsScrollDown,
BOOL bIsHighlited,
BOOL bIsPressed,
BOOL bIsDisabled);
Parametry
[v] pDC
[v] Rect
[v] bIsScrollDown
[v] bIsHighlited
[v] bIsPressed
[v] bIsDisabled
Poznámky
CMFCVisualManagerOffice2007::OnDrawMenuSystemButton
virtual void OnDrawMenuSystemButton(
CDC* pDC,
CRect rect,
UINT uiSystemCommand,
UINT nStyle,
BOOL bHighlight);
Parametry
[v] pDC
[v] Rect
[v] uiSystemCommand
[v] nStyle
[v] bHighlight
Poznámky
CMFCVisualManagerOffice2007::OnDrawMiniFrameBorder
virtual void OnDrawMiniFrameBorder(
CDC* pDC,
CPaneFrameWnd* pFrameWnd,
CRect rectBorder,
CRect rectBorderSize);
Parametry
[v] pDC
[v] pFrameWnd
[v] rectBorder
[v] rectBorderSize
Poznámky
CMFCVisualManagerOffice2007::OnDrawOutlookBarSplitter
virtual void OnDrawOutlookBarSplitter(
CDC* pDC,
CRect rectSplitter);
Parametry
[v] pDC
[v] rectSplitter
Poznámky
CMFCVisualManagerOffice2007::OnDrawOutlookPageButtonBorder
virtual void OnDrawOutlookPageButtonBorder(
CDC* pDC,
CRect& rectBtn,
BOOL bIsHighlighted,
BOOL bIsPressed);
Parametry
[v] pDC
[v] rectBtn
[v] bIsHighlighted
[v] bIsPressed
Poznámky
CMFCVisualManagerOffice2007::OnDrawPaneCaption
virtual COLORREF OnDrawPaneCaption(
CDC* pDC,
CDockablePane* pBar,
BOOL bActive,
CRect rectCaption,
CRect rectButtons);
Parametry
[v] pDC
[v] pBar
[v] bActive
[v] rectCaption
[v] rectButtons
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::OnDrawPopupWindowCaption
virtual COLORREF OnDrawPopupWindowCaption(
CDC* pDC,
CRect rectCaption,
CMFCDesktopAlertWnd* pPopupWnd);
Parametry
[v] pDC
[v] rectCaption
[v] pPopupWnd
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::OnDrawPropertySheetListItem
virtual COLORREF OnDrawPropertySheetListItem(
CDC* pDC,
CMFCPropertySheet* pParent,
CRect rect,
BOOL bIsHighlihted,
BOOL bIsSelected);
Parametry
[v] pDC
[v] pParent
[v] Rect
[v] bIsHighlihted
[v] BIsSelected
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonApplicationButton
virtual void OnDrawRibbonApplicationButton(
CDC* pDC,
CMFCRibbonButton* pButton);
Parametry
[v] pDC
[v] pButton
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonButtonBorder
virtual void OnDrawRibbonButtonBorder(
CDC* pDC,
CMFCRibbonButton* pButton);
Parametry
[v] pDC
[v] pButton
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonButtonsGroup
virtual COLORREF OnDrawRibbonButtonsGroup(
CDC* pDC,
CMFCRibbonButtonsGroup* pGroup,
CRect rectGroup);
Parametry
[v] pDC
[v] pGroup
[v] rectGroup
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonCaption
virtual void OnDrawRibbonCaption(
CDC* pDC,
CMFCRibbonBar* pBar,
CRect rectCaption,
CRect rectText);
Parametry
[v] pDC
[v] pBar
[v] rectCaption
[v] rectText
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonCaptionButton
virtual void OnDrawRibbonCaptionButton(
CDC* pDC,
CMFCRibbonCaptionButton* pButton);
Parametry
[v] pDC
[v] pButton
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonCategory
virtual void OnDrawRibbonCategory(
CDC* pDC,
CMFCRibbonCategory* pCategory,
CRect rectCategory);
Parametry
[v] pDC
[v] pCategory
[v] rectCategory
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonCategoryCaption
virtual COLORREF OnDrawRibbonCategoryCaption(
CDC* pDC,
CMFCRibbonContextCaption* pContextCaption);
Parametry
[v] pDC
[v] pContextCaption
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonCategoryScroll
virtual void OnDrawRibbonCategoryScroll(
CDC* pDC,
CRibbonCategoryScroll* pScroll);
Parametry
[v] pDC
[v] pScroll
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonCategoryTab
virtual COLORREF OnDrawRibbonCategoryTab(
CDC* pDC,
CMFCRibbonTab* pTab,
BOOL bIsActive);
Parametry
[v] pDC
[v] pTab
[v] bIsActive
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonCheckBoxOnList
virtual void OnDrawRibbonCheckBoxOnList(
CDC* pDC,
CMFCRibbonCheckBox* pCheckBox,
CRect rect,
BOOL bIsSelected,
BOOL bHighlighted);
Parametry
[v] pDC
[v] pCheckBox
[v] Rect
[v] BIsSelected
[v] bHighlighted
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonDefaultPaneButton
virtual void OnDrawRibbonDefaultPaneButton(
CDC* pDC,
CMFCRibbonButton* pButton);
Parametry
[v] pDC
[v] pButton
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonDefaultPaneButtonIndicator
virtual void OnDrawRibbonDefaultPaneButtonIndicator(
CDC* pDC,
CMFCRibbonButton* pButton,
CRect rect,
BOOL bIsSelected,
BOOL bHighlighted);
Parametry
[v] pDC
[v] pButton
[v] Rect
[v] BIsSelected
[v] bHighlighted
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonGalleryBorder
virtual void OnDrawRibbonGalleryBorder(
CDC* pDC,
CMFCRibbonGallery* pButton,
CRect rectBorder);
Parametry
[v] pDC
[v] pButton
[v] rectBorder
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonGalleryButton
virtual void OnDrawRibbonGalleryButton(
CDC* pDC,
CMFCRibbonGalleryIcon* pButton);
Parametry
[v] pDC
[v] pButton
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonKeyTip
virtual void OnDrawRibbonKeyTip(
CDC* pDC,
CMFCRibbonBaseElement* pElement,
CRect rect,
CString str);
Parametry
[v] pDC
[v] pElement
[v] Rect
[v] Str
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonMainPanelButtonBorder
virtual void OnDrawRibbonMainPanelButtonBorder(
CDC* pDC,
CMFCRibbonButton* pButton);
Parametry
[v] pDC
[v] pButton
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonMainPanelFrame
virtual void OnDrawRibbonMainPanelFrame(
CDC* pDC,
CMFCRibbonMainPanel* pPanel,
CRect rect);
Parametry
[v] pDC
[v] pPanel
[v] Rect
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonMenuCheckFrame
virtual void OnDrawRibbonMenuCheckFrame(
CDC* pDC,
CMFCRibbonButton* pButton,
CRect rect);
Parametry
[v] pDC
[v] pButton
[v] Rect
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonPanel
virtual COLORREF OnDrawRibbonPanel(
CDC* pDC,
CMFCRibbonPanel* pPanel,
CRect rectPanel,
CRect rectCaption);
Parametry
[v] pDC
[v] pPanel
[v] rectPanel
[v] rectCaption
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonPanelCaption
virtual void OnDrawRibbonPanelCaption(
CDC* pDC,
CMFCRibbonPanel* pPanel,
CRect rectCaption);
Parametry
[v] pDC
[v] pPanel
[v] rectCaption
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonProgressBar
virtual void OnDrawRibbonProgressBar(
CDC* pDC,
CMFCRibbonProgressBar* pProgress,
CRect rectProgress,
CRect rectChunk,
BOOL bInfiniteMode);
Parametry
[v] pDC
[v] pProgress
[v] rectProgress
[v] rectChunk
[v] bInfiniteMode
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonRecentFilesFrame
virtual void OnDrawRibbonRecentFilesFrame(
CDC* pDC,
CMFCRibbonMainPanel* pPanel,
CRect rect);
Parametry
[v] pDC
[v] pPanel
[v] Rect
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonSliderChannel
virtual void OnDrawRibbonSliderChannel(
CDC* pDC,
CMFCRibbonSlider* pSlider,
CRect rect);
Parametry
[v] pDC
[v] pSlider
[v] Rect
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonSliderThumb
virtual void OnDrawRibbonSliderThumb(
CDC* pDC,
CMFCRibbonSlider* pSlider,
CRect rect,
BOOL bIsHighlighted,
BOOL bIsPressed,
BOOL bIsDisabled);
Parametry
[v] pDC
[v] pSlider
[v] Rect
[v] bIsHighlighted
[v] bIsPressed
[v] bIsDisabled
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonSliderZoomButton
virtual void OnDrawRibbonSliderZoomButton(
CDC* pDC,
CMFCRibbonSlider* pSlider,
CRect rect,
BOOL bIsZoomOut,
BOOL bIsHighlighted,
BOOL bIsPressed,
BOOL bIsDisabled);
Parametry
[v] pDC
[v] pSlider
[v] Rect
[v] bIsZoomOut
[v] bIsHighlighted
[v] bIsPressed
[v] bIsDisabled
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonStatusBarPane
virtual COLORREF OnDrawRibbonStatusBarPane(
CDC* pDC,
CMFCRibbonStatusBar* pBar,
CMFCRibbonStatusBarPane* pPane);
Parametry
[v] pDC
[v] pBar
[v] pPane
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::OnDrawRibbonTabsFrame
virtual COLORREF OnDrawRibbonTabsFrame(
CDC* pDC,
CMFCRibbonBar* pWndRibbonBar,
CRect rectTab);
Parametry
[v] pDC
[v] pWndRibbonBar
[v] rectTab
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::OnDrawScrollButtons
virtual void OnDrawScrollButtons(
CDC* pDC,
const CRect& rect,
const int nBorderSize,
int iImage,
BOOL bHilited);
Parametry
[v] pDC
[v] Rect
[v] nBorderSize
[v] iImage
[v] bHilited
Poznámky
CMFCVisualManagerOffice2007::OnDrawSeparator
virtual void OnDrawSeparator(
CDC* pDC,
CBasePane* pBar,
CRect rect,
BOOL bIsHoriz);
Parametry
[v] pDC
[v] pBar
[v] Rect
[v] bIsHoriz
Poznámky
CMFCVisualManagerOffice2007::OnDrawShowAllMenuItems
virtual void OnDrawShowAllMenuItems(
CDC* pDC,
CRect rect,
CMFCVisualManager::AFX_BUTTON_STATE state);
Parametry
[v] pDC
[v] Rect
[v] stát
Poznámky
CMFCVisualManagerOffice2007::OnDrawStatusBarPaneBorder
virtual void OnDrawStatusBarPaneBorder(
CDC* pDC,
CMFCStatusBar* pBar,
CRect rectPane,
UINT uiID,
UINT nStyle);
Parametry
[v] pDC
[v] pBar
[v] rectPane
[v] UIID
[v] nStyle
Poznámky
CMFCVisualManagerOffice2007::OnDrawStatusBarSizeBox
virtual void OnDrawStatusBarSizeBox(
CDC* pDC,
CMFCStatusBar* pStatBar,
CRect rectSizeBox);
Parametry
[v] pDC
[v] pStatBar
[v] rectSizeBox
Poznámky
CMFCVisualManagerOffice2007::OnDrawTab
virtual void OnDrawTab(
CDC* pDC,
CRect rectTab,
int iTab,
BOOL bIsActive,
const CMFCBaseTabCtrl* pTabWnd);
Parametry
[v] pDC
[v] rectTab
[v] iTab
[v] bIsActive
[v] pTabWnd
Poznámky
CMFCVisualManagerOffice2007::OnDrawTabsButtonBorder
virtual void OnDrawTabsButtonBorder(
CDC* pDC,
CRect& rect,
CMFCButton* pButton,
UINT uiState,
CMFCBaseTabCtrl* pWndTab);
Parametry
[v] pDC
[v] Rect
[v] pButton
[v] uiState
[v] pWndTab
Poznámky
CMFCVisualManagerOffice2007::OnDrawTask
virtual void OnDrawTask(
CDC* pDC,
CMFCTasksPaneTask* pTask,
CImageList* pIcons,
BOOL bIsHighlighted = FALSE,
BOOL bIsSelected = FALSE);
Parametry
[v] pDC
[v] pTask
[v] PIcons
[v] bIsHighlighted
[v] BIsSelected
Poznámky
CMFCVisualManagerOffice2007::OnDrawTasksGroupCaption
virtual void OnDrawTasksGroupCaption(
CDC* pDC,
CMFCTasksPaneTaskGroup* pGroup,
BOOL bIsHighlighted = FALSE,
BOOL bIsSelected = FALSE,
BOOL bCanCollapse = FALSE);
Parametry
[v] pDC
[v] pGroup
[v] bIsHighlighted
[v] BIsSelected
[v] bCanCollapse
Poznámky
CMFCVisualManagerOffice2007::OnDrawTearOffCaption
virtual void OnDrawTearOffCaption(
CDC* pDC,
CRect rect,
BOOL bIsActive);
Parametry
[v] pDC
[v] Rect
[v] bIsActive
Poznámky
CMFCVisualManagerOffice2007::OnEraseMDIClientArea
virtual BOOL OnEraseMDIClientArea(
CDC* pDC,
CRect rectClient);
Parametry
[v] pDC
[v] rectClient
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::OnEraseTabsArea
virtual void OnEraseTabsArea(
CDC* pDC,
CRect rect,
const CMFCBaseTabCtrl* pTabWnd);
Parametry
[v] pDC
[v] Rect
[v] pTabWnd
Poznámky
CMFCVisualManagerOffice2007::OnEraseTabsButton
virtual void OnEraseTabsButton(
CDC* pDC,
CRect rect,
CMFCButton* pButton,
CMFCBaseTabCtrl* pWndTab);
Parametry
[v] pDC
[v] Rect
[v] pButton
[v] pWndTab
Poznámky
CMFCVisualManagerOffice2007::OnEraseTabsFrame
virtual BOOL OnEraseTabsFrame(
CDC* pDC,
CRect rect,
const CMFCBaseTabCtrl* pTabWnd);
Parametry
[v] pDC
[v] Rect
[v] pTabWnd
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::OnFillBarBackground
virtual void OnFillBarBackground(
CDC* pDC,
CBasePane* pBar,
CRect rectClient,
CRect rectClip,
BOOL bNCArea = FALSE);
Parametry
[v] pDC
[v] pBar
[v] rectClient
[v] rectClip
[v] bNCArea
Poznámky
CMFCVisualManagerOffice2007::OnFillButtonInterior
virtual void OnFillButtonInterior(
CDC* pDC,
CMFCToolBarButton* pButton,
CRect rect,
CMFCVisualManager::AFX_BUTTON_STATE state);
Parametry
[v] pDC
[v] pButton
[v] Rect
[v] stát
Poznámky
CMFCVisualManagerOffice2007::OnFillCaptionBarButton
virtual COLORREF OnFillCaptionBarButton(
CDC* pDC,
CMFCCaptionBar* pBar,
CRect rect,
BOOL bIsPressed,
BOOL bIsHighlighted,
BOOL bIsDisabled,
BOOL bHasDropDownArrow,
BOOL bIsSysButton);
Parametry
[v] pDC
[v] pBar
[v] Rect
[v] bIsPressed
[v] bIsHighlighted
[v] bIsDisabled
[v] bHasDropDownArrow
[v] bIsSysButton
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::OnFillHighlightedArea
virtual void OnFillHighlightedArea(
CDC* pDC,
CRect rect,
CBrush* pBrush,
CMFCToolBarButton* pButton);
Parametry
[v] pDC
[v] Rect
[v] pBrush
[v] pButton
Poznámky
CMFCVisualManagerOffice2007::OnFillMiniFrameCaption
virtual COLORREF OnFillMiniFrameCaption(
CDC* pDC,
CRect rectCaption,
CPaneFrameWnd* pFrameWnd,
BOOL bActive);
Parametry
[v] pDC
[v] rectCaption
[v] pFrameWnd
[v] bActive
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::OnFillOutlookBarCaption
virtual void OnFillOutlookBarCaption(
CDC* pDC,
CRect rectCaption,
COLORREF& clrText);
Parametry
[v] pDC
[v] rectCaption
[v] clrText
Poznámky
CMFCVisualManagerOffice2007::OnFillOutlookPageButton
virtual void OnFillOutlookPageButton(
CDC* pDC,
const CRect& rect,
BOOL bIsHighlighted,
BOOL bIsPressed,
COLORREF& clrText);
Parametry
[v] pDC
[v] Rect
[v] bIsHighlighted
[v] bIsPressed
[v] clrText
Poznámky
CMFCVisualManagerOffice2007::OnFillPopupWindowBackground
virtual void OnFillPopupWindowBackground(
CDC* pDC,
CRect rect);
Parametry
[v] pDC
[v] Rect
Poznámky
CMFCVisualManagerOffice2007::OnFillRibbonButton
virtual COLORREF OnFillRibbonButton(
CDC* pDC,
CMFCRibbonButton* pButton);
Parametry
[v] pDC
[v] pButton
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::OnFillRibbonEdit
virtual void OnFillRibbonEdit(
CDC* pDC,
CMFCRibbonRichEditCtrl* pEdit,
CRect rect,
BOOL bIsHighlighted,
BOOL bIsPaneHighlighted,
BOOL bIsDisabled,
COLORREF& clrText,
COLORREF& clrSelBackground,
COLORREF& clrSelText);
Parametry
[v] pDC
[v] pEdit
[v] Rect
[v] bIsHighlighted
[v] bIsPaneHighlighted
[v] bIsDisabled
[v] clrText
[v] clrSelBackground
[v] clrSelText
Poznámky
CMFCVisualManagerOffice2007::OnFillRibbonMainPanelButton
virtual COLORREF OnFillRibbonMainPanelButton(
CDC* pDC,
CMFCRibbonButton* pButton);
Parametry
[v] pDC
[v] pButton
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::OnFillRibbonMenuFrame
virtual void OnFillRibbonMenuFrame(
CDC* pDC,
CMFCRibbonMainPanel* pPanel,
CRect rect);
Parametry
[v] pDC
[v] pPanel
[v] Rect
Poznámky
CMFCVisualManagerOffice2007::OnFillRibbonQuickAccessToolBarPopup
virtual void OnFillRibbonQuickAccessToolBarPopup(
CDC* pDC,
CMFCRibbonPanelMenuBar* pMenuBar,
CRect rect);
Parametry
[v] pDC
[v] pMenuBar
[v] Rect
Poznámky
CMFCVisualManagerOffice2007::OnFillTab
virtual void OnFillTab(
CDC* pDC,
CRect rectFill,
CBrush* pbrFill,
int iTab,
BOOL bIsActive,
const CMFCBaseTabCtrl* pTabWnd);
Parametry
[v] pDC
[v] rectFill
[v] pbrFill
[v] iTab
[v] bIsActive
[v] pTabWnd
Poznámky
CMFCVisualManagerOffice2007::OnHighlightMenuItem
virtual void OnHighlightMenuItem(
CDC* pDC,
CMFCToolBarMenuButton* pButton,
CRect rect,
COLORREF& clrText);
Parametry
[v] pDC
[v] pButton
[v] Rect
[v] clrText
Poznámky
CMFCVisualManagerOffice2007::OnHighlightRarelyUsedMenuItems
virtual void OnHighlightRarelyUsedMenuItems(
CDC* pDC,
CRect rectRarelyUsed);
Parametry
[v] pDC
[v] zřídka
Poznámky
CMFCVisualManagerOffice2007::OnNcActivate
virtual BOOL OnNcActivate(
CWnd* pWnd,
BOOL bActive);
Parametry
[v] pWnd
[v] bActive
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::OnNcPaint
virtual BOOL OnNcPaint(
CWnd* pWnd,
const CObList& lstSysButtons,
CRect rectRedraw);
Parametry
[v] pWnd
[v] LstSysButtons
[v] rectRedraw
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::OnSetWindowRegion
virtual BOOL OnSetWindowRegion(
CWnd* pWnd,
CSize sizeWindow);
Parametry
[v] pWnd
[v] sizeWindow
Návratová hodnota
Poznámky
CMFCVisualManagerOffice2007::OnUpdateSystemColors
virtual void OnUpdateSystemColors();
Poznámky
CMFCVisualManagerOffice2007::SetResourceHandle
static void __stdcall SetResourceHandle(HINSTANCE hinstRes);
Parametry
[v] hinstRes
Poznámky
Viz také
Graf hierarchie
Třídy
CMFCVisualManager – třída
CMFCVisualManagerOfficeXP – třída
CMFCVisualManagerWindows – třída