Share via


CMFCVisualManagerWindows7 Class

The CMFCVisualManagerWindows7 gives an application the appearance of a Windows 7 application.

class CMFCVisualManagerWindows7 : public CMFCVisualManagerWindows;

Members

Public Constructors

Name

Description

CMFCVisualManagerWindows7::CMFCVisualManagerWindows7

Default constructor.

CMFCVisualManagerWindows7::~CMFCVisualManagerWindows7

Default destructor.

Public Methods

Name

Description

CMFCVisualManagerWindows7::CleanStyle

Clears the current visual style and resets the default visual style.

CMFCVisualManagerWindows7::CleanUp

Clears all of the objects in the user interface and resets the menus.

CMFCVisualManagerWindows7::DrawNcBtn

Draws a button in the non-client area on the frame. The framework uses this method to draw minimize, maximize, close and restore buttons in the upper right corner of the window frame. This method is not called when the program uses a non-Aero theme.

CMFCVisualManagerWindows7::DrawNcText

Draws text in the non-client area on the frame. The framework uses this method to draw the application title in the title bar at the top of the frame window.

CMFCVisualManagerWindows7::DrawSeparator

Draws a separator on the CMFCToolBar Class.

CMFCVisualManagerWindows7::GetRibbonBar

Retrieves the CMFCRibbonBar Class associated with the user interface.

CMFCVisualManagerWindows7::GetRibbonEditBackgroundColor

Obtains a Ribbon edit box background color.

CMFCVisualManagerWindows7::GetRibbonPopupBorderSize

Overrides CMFCVisualManager::GetRibbonPopupBorderSize

CMFCVisualManagerWindows7::GetRibbonQuickAccessToolBarChevronOffset

Overrides CMFCVisualManager::GetRibbonQuickAccessToolBarChevronOffset

CMFCVisualManagerWindows7::GetRibbonQuickAccessToolBarRightMargin

Overrides CMFCVisualManager::GetRibbonQuickAccessToolBarRightMargin

CMFCVisualManagerWindows7::IsHighlightWholeMenuItem

Overrides CMFCVisualManagerWindows::IsHighlightWholeMenuItem

CMFCVisualManagerWindows7::IsOwnerDrawMenuCheck

Overrides CMFCVisualManager::IsOwnerDrawMenuCheck

CMFCVisualManagerWindows7::IsRibbonPresent

Determines whether a CMFCRibbonBar is present and visible.

CMFCVisualManagerWindows7::OnDrawButtonBorder

Overrides CMFCVisualManagerWindows::OnDrawButtonBorder

CMFCVisualManagerWindows7::OnDrawCheckBoxEx

Overrides CMFCVisualManagerWindows::OnDrawCheckBoxEx

CMFCVisualManagerWindows7::OnDrawComboDropButton

Overrides CMFCVisualManagerWindows::OnDrawComboDropButton

CMFCVisualManagerWindows7::OnDrawDefaultRibbonImage

Overrides CMFCVisualManager::OnDrawDefaultRibbonImage

CMFCVisualManagerWindows7::OnDrawMenuBorder

Overrides CMFCVisualManagerWindows::OnDrawMenuBorder

CMFCVisualManagerWindows7::OnDrawMenuCheck

Overrides CMFCVisualManager::OnDrawMenuCheck

CMFCVisualManagerWindows7::OnDrawMenuLabel

Overrides CMFCVisualManager::OnDrawMenuLabel

CMFCVisualManagerWindows7::OnDrawRadioButton

Overrides CMFCVisualManager::OnDrawRadioButton

CMFCVisualManagerWindows7::OnDrawRibbonApplicationButton

Overrides CMFCVisualManager::OnDrawRibbonApplicationButton

CMFCVisualManagerWindows7::OnDrawRibbonButtonBorder

Overrides CMFCVisualManager::OnDrawRibbonButtonBorder

CMFCVisualManagerWindows7::OnDrawRibbonCaption

Overrides CMFCVisualManager::OnDrawRibbonCaption

CMFCVisualManagerWindows7::OnDrawRibbonCaptionButton

Overrides CMFCVisualManager::OnDrawRibbonCaptionButton

CMFCVisualManagerWindows7::OnDrawRibbonCategory

Overrides CMFCVisualManager::OnDrawRibbonCategory

CMFCVisualManagerWindows7::OnDrawRibbonCategoryTab

Overrides CMFCVisualManager::OnDrawRibbonCategoryTab

CMFCVisualManagerWindows7::OnDrawRibbonDefaultPaneButton

Overrides CMFCVisualManager::OnDrawRibbonDefaultPaneButton

CMFCVisualManagerWindows7::OnDrawRibbonGalleryButton

Overrides CMFCVisualManager::OnDrawRibbonGalleryButton

CMFCVisualManagerWindows7::OnDrawRibbonLaunchButton

Overrides CMFCVisualManager::OnDrawRibbonLaunchButton

CMFCVisualManagerWindows7::OnDrawRibbonMenuCheckFrame

Overrides CMFCVisualManager::OnDrawRibbonMenuCheckFrame

CMFCVisualManagerWindows7::OnDrawRibbonPanel

Overrides CMFCVisualManager::OnDrawRibbonPanel

CMFCVisualManagerWindows7::OnDrawRibbonPanelCaption

Overrides CMFCVisualManager::OnDrawRibbonPanelCaption

CMFCVisualManagerWindows7::OnDrawRibbonProgressBar

Overrides CMFCVisualManager::OnDrawRibbonProgressBar

CMFCVisualManagerWindows7::OnDrawRibbonRecentFilesFrame

Overrides CMFCVisualManager::OnDrawRibbonRecentFilesFrame

CMFCVisualManagerWindows7::OnDrawRibbonSliderChannel

Overrides CMFCVisualManager::OnDrawRibbonSliderChannel

CMFCVisualManagerWindows7::OnDrawRibbonSliderThumb

Overrides CMFCVisualManager::OnDrawRibbonSliderThumb

CMFCVisualManagerWindows7::OnDrawRibbonSliderZoomButton

Overrides CMFCVisualManager::OnDrawRibbonSliderZoomButton

CMFCVisualManagerWindows7::OnDrawRibbonStatusBarPane

Overrides CMFCVisualManager::OnDrawRibbonStatusBarPane

CMFCVisualManagerWindows7::OnDrawRibbonTabsFrame

Overrides CMFCVisualManager::OnDrawRibbonTabsFrame

CMFCVisualManagerWindows7::OnDrawStatusBarSizeBox

Overrides CMFCVisualManagerWindows::OnDrawStatusBarSizeBox

CMFCVisualManagerWindows7::OnFillBarBackground

Overrides CMFCVisualManagerWindows::OnFillBarBackground

CMFCVisualManagerWindows7::OnFillButtonInterior

Overrides CMFCVisualManagerWindows::OnFillButtonInterior

CMFCVisualManagerWindows7::OnFillMenuImageRect

The framework calls this method when it fills area around menu item images.

CMFCVisualManagerWindows7::OnFillRibbonButton

Overrides CMFCVisualManager::OnFillRibbonButton

CMFCVisualManagerWindows7::OnFillRibbonQuickAccessToolBarPopup

Overrides CMFCVisualManager::OnFillRibbonQuickAccessToolBarPopup

CMFCVisualManagerWindows7::OnHighlightMenuItem

Overrides CMFCVisualManagerWindows::OnHighlightMenuItem

CMFCVisualManagerWindows7::OnNcActivate

Overrides CMFCVisualManager::OnNcActivate

CMFCVisualManagerWindows7::OnNcPaint

Overrides CMFCVisualManager::OnNcPaint

CMFCVisualManagerWindows7::OnUpdateSystemColors

Overrides CMFCVisualManagerWindows::OnUpdateSystemColors

CMFCVisualManagerWindows7::SetResourceHandle

Sets the resource handle that describes the attributes of the visual manager.

CMFCVisualManagerWindows7::SetStyle

Sets the color scheme of the CMFCVisualManagerWindows7 GUI.

Remarks

Use the CMFCVisualManagerWindows7 class to change the appearance of your application to mimic a default Windows 7 application. This class might not be valid if your application is running on a version of Windows earlier than Windows 7. In that scenario, the application uses the default visual manager defined in CMFCVisualManager.

The CMFCVisualManagerWindows7 inherits multiple methods from both the CMFCVisualManagerWindows Class and the CMFCVisualManager class. The methods listed in the previous section are methods new to the CMFCVisualManagerWindows7 class.

Inheritance Hierarchy

CObject

   CMFCBaseVisualManager

      CMFCVisualManager

         CMFCVisualManagerOfficeXP

            CMFCVisualManagerWindows

               CMFCVisualManagerWindows7

Requirements

Header: afxvisualmanagerwindows7.h

See Also

Reference

Hierarchy Chart

CMFCVisualManager Class

CMFCVisualManagerWindows Class

CMFCVisualManager::SetDefaultManager

Other Resources

MFC Classes