CMFCVisualManagerWindows7 Class
The CMFCVisualManagerWindows7 gives an application the appearance of a Windows 7 application.
class CMFCVisualManagerWindows7 : public CMFCVisualManagerWindows;
Members
Public Constructors
Name |
Description |
---|---|
Default constructor. |
|
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. |
Obtains a Ribbon edit box background color. |
|
CMFCVisualManagerWindows7::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 |
|
CMFCVisualManagerWindows7::OnDrawCheckBoxEx |
|
CMFCVisualManagerWindows7::OnDrawComboDropButton |
|
CMFCVisualManagerWindows7::OnDrawDefaultRibbonImage |
|
CMFCVisualManagerWindows7::OnDrawMenuBorder |
|
CMFCVisualManagerWindows7::OnDrawMenuCheck |
Overrides CMFCVisualManager::OnDrawMenuCheck |
CMFCVisualManagerWindows7::OnDrawMenuLabel |
Overrides CMFCVisualManager::OnDrawMenuLabel |
CMFCVisualManagerWindows7::OnDrawRadioButton |
Overrides CMFCVisualManager::OnDrawRadioButton |
CMFCVisualManagerWindows7::OnDrawRibbonApplicationButton |
|
CMFCVisualManagerWindows7::OnDrawRibbonButtonBorder |
|
CMFCVisualManagerWindows7::OnDrawRibbonCaption |
Overrides CMFCVisualManager::OnDrawRibbonCaption |
CMFCVisualManagerWindows7::OnDrawRibbonCaptionButton |
|
CMFCVisualManagerWindows7::OnDrawRibbonCategory |
Overrides CMFCVisualManager::OnDrawRibbonCategory |
CMFCVisualManagerWindows7::OnDrawRibbonCategoryTab |
|
CMFCVisualManagerWindows7::OnDrawRibbonDefaultPaneButton |
|
CMFCVisualManagerWindows7::OnDrawRibbonGalleryButton |
|
CMFCVisualManagerWindows7::OnDrawRibbonLaunchButton |
Overrides CMFCVisualManager::OnDrawRibbonLaunchButton |
CMFCVisualManagerWindows7::OnDrawRibbonMenuCheckFrame |
|
CMFCVisualManagerWindows7::OnDrawRibbonPanel |
Overrides CMFCVisualManager::OnDrawRibbonPanel |
CMFCVisualManagerWindows7::OnDrawRibbonPanelCaption |
|
CMFCVisualManagerWindows7::OnDrawRibbonProgressBar |
|
CMFCVisualManagerWindows7::OnDrawRibbonRecentFilesFrame |
|
CMFCVisualManagerWindows7::OnDrawRibbonSliderChannel |
|
CMFCVisualManagerWindows7::OnDrawRibbonSliderThumb |
|
CMFCVisualManagerWindows7::OnDrawRibbonSliderZoomButton |
|
CMFCVisualManagerWindows7::OnDrawRibbonStatusBarPane |
|
CMFCVisualManagerWindows7::OnDrawRibbonTabsFrame |
Overrides CMFCVisualManager::OnDrawRibbonTabsFrame |
CMFCVisualManagerWindows7::OnDrawStatusBarSizeBox |
|
CMFCVisualManagerWindows7::OnFillBarBackground |
|
CMFCVisualManagerWindows7::OnFillButtonInterior |
|
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 |
|
CMFCVisualManagerWindows7::OnNcActivate |
Overrides CMFCVisualManager::OnNcActivate |
CMFCVisualManagerWindows7::OnNcPaint |
Overrides CMFCVisualManager::OnNcPaint |
CMFCVisualManagerWindows7::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
CMFCVisualManagerWindows7
Requirements
Header: afxvisualmanagerwindows7.h
See Also
Reference
CMFCVisualManagerWindows Class
CMFCVisualManager::SetDefaultManager