Поделиться через


CMFCVisualManagerWindows7 Class

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

CMFCVisualManagerWindows7 : public CMFCVisualManagerWindows

Members

Public Constructors

Name

Description

CMFCVisualManagerWindows7::CMFCVisualManagerWindows7

Default constructor.

Public Methods

Name

Description

CMFCVisualManagerWindows7::GetRibbonEditBackgroundColor

Obtains a Ribbon edit box background color.

CMFCVisualManagerWindows7::OnFillMenuImageRect

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

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