CMFCVisualManagerOffice2007 Class
CMFCVisualManagerOffice2007 gives an application a Microsoft Office 2007 appearance.
class CMFCVisualManagerOffice2007 : public CMFCVisualManagerOffice2003
Members
Public Methods
Name |
Description |
---|---|
|
|
|
|
|
|
CMFCVisualManagerOffice2007::GetHighlightedMenuItemTextColor |
|
|
|
|
|
|
|
|
|
|
|
CMFCVisualManagerOffice2007::GetRibbonQuickAccessToolBarChevronOffset |
|
CMFCVisualManagerOffice2007::GetRibbonQuickAccessToolBarRightMargin |
|
CMFCVisualManagerOffice2007::GetRibbonQuickAccessToolBarTextColor |
|
|
|
|
|
|
|
CMFCVisualManagerOffice2007::GetStyle |
Returns the current color scheme of the CMFCVisualManagerOffice2007 GUI which, in turn, mimics the Microsoft Office 2007 GUI. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CMFCVisualManagerOffice2007::OnDrawRibbonDefaultPaneButtonIndicator |
|
|
|
|
|
|
|
|
|
CMFCVisualManagerOffice2007::OnDrawRibbonMainPanelButtonBorder |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CMFCVisualManagerOffice2007::OnFillRibbonQuickAccessToolBarPopup |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CMFCVisualManagerOffice2007::SetStyle |
Sets the color scheme of the CMFCVisualManagerOffice2007 GUI. |
Remarks
Use CMFCVisualManagerOffice2007 to change the visual appearance of your application to resemble that of Microsoft Office 2007. This visual manager requires that you set the style before you use it. Before you pass this visual manager to CMFCVisualManager::SetDefaultManager, you must call the static function CMFCVisualManagerOffice2007::SetStyle.
Example
The following example demonstrates how to use the visual manager Office 2007. This code snippet is part of the DesktopAlertDemo Sample: MFC Desktop Alert Application.
CMFCVisualManagerOffice2007::SetStyle (CMFCVisualManagerOffice2007::Office2007_LunaBlue);
CMFCVisualManager::SetDefaultManager (RUNTIME_CLASS (CMFCVisualManagerOffice2007));
Inheritance Hierarchy
Requirements
Header: afxvisualmanageroffice2007.h
See Also
Concepts
Reference
CMFCVisualManagerOfficeXP Class
CMFCVisualManagerWindows Class
CMFCVisualManager::SetDefaultManager