CMFCVisualManagerWindows Class
CMFCVisualManagerWindows mimics the appearance of Microsoft Windows XP or Microsoft Vista when the user selects a Windows XP or Vista theme.
class CMFCVisualManagerWindows : public CMFCVisualManagerOfficeXP
Members
Public Constructors
Name |
Description |
---|---|
CMFCVisualManagerWindows::CMFCVisualManagerWindows |
Default constructor. |
Public Methods
Name |
Description |
---|---|
The framework calls this method to determine whether 3D tabs should always be highlighted in the application. (Overrides CMFCVisualManager::AlwaysHighlight3DTabs.) |
|
(Overrides CMFCVisualManager::DrawComboBorderWinXP.) |
|
(Overrides CMFCVisualManager::DrawComboDropButtonWinXP.) |
|
(Overrides CMFCVisualManager::DrawPushButtonWinXP.) |
|
The framework calls this method when it draws a toolbar button. (Overrides CMFCVisualManager::GetButtonExtraBorder.) |
|
(Overrides CMFCVisualManager::GetCaptionButtonExtraBorder.) |
|
(Overrides CMFCVisualManager::GetDockingPaneCaptionExtraHeight.) |
|
(Overrides CMFCVisualManagerOfficeXP::GetHighlightedMenuItemTextColor.) |
|
(Overrides CMFCVisualManagerOfficeXP::GetPopupMenuGap.) |
|
(Overrides CMFCVisualManagerOfficeXP::GetToolbarButtonTextColor.) |
|
(Overrides CMFCVisualManager::IsDefaultWinXPPopupButton.) |
|
(Overrides CMFCVisualManagerOfficeXP::IsHighlightWholeMenuItem.) |
|
|
|
Indicates whether the visual manager implements Office XP-style menus. (Overrides CMFCVisualManager::IsOfficeXPStyleMenus.) |
|
(Overrides CMFCVisualManager::IsWindowsThemingSupported.) |
|
Indicates whether a Windows theme is available. A theme can be either a Windows XP theme or a Windows Vista theme. |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawBarGripper.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawBrowseButton.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawButtonBorder.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawButtonSeparator.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawCaptionButton.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawCaptionButtonIcon.) |
|
(Overrides CMFCVisualManager::OnDrawCheckBoxEx.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawComboBorder.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawComboDropButton.) |
|
(Overrides CMFCVisualManager::OnDrawControlBorder.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawEditBorder.) |
|
(Overrides CMFCVisualManager::OnDrawExpandingBox.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawFloatingToolbarBorder.) |
|
The framework calls this method when it draws the border around an instance of the CMFCHeaderCtrl Class. (Overrides CMFCVisualManager::OnDrawHeaderCtrlBorder.) |
|
The framework calls this function when it draws the sort arrow of a header control. (Overrides CMFCVisualManager::OnDrawHeaderCtrlSortArrow.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawMenuBorder.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawMenuSystemButton.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawMiniFrameBorder.) |
|
Called by the framework when it draws the border of an Outlook page button. (Overrides CMFCVisualManager::OnDrawOutlookPageButtonBorder.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawPaneBorder.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawPaneCaption.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawPopupWindowButtonBorder.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawScrollButtons.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawSeparator.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawSpinButtons.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawStatusBarPaneBorder.) |
|
The framework calls this method when it draws the progress indicator on the CMFCStatusBar object. (Overrides CMFCVisualManager::OnDrawStatusBarProgress.) |
|
The framework calls this method when it draws the size box for a CMFCStatusBar. (Overrides CMFCVisualManager::OnDrawStatusBarSizeBox.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawTab.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawTabCloseButton.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawTabsButtonBorder.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawTask.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawTasksGroupAreaBorder.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawTasksGroupCaption.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnDrawTearOffCaption.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnErasePopupWindowButton.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnEraseTabsArea.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnEraseTabsButton.) |
|
The framework calls this method when it erases a frame on a CMFCBaseTabCtrl Class. (Overrides CMFCVisualManager::OnEraseTabsFrame.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnFillBarBackground.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnFillButtonInterior.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnFillCommandsListBackground.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnFillMiniFrameCaption.) |
|
The framework calls this method when it fills the interior of an Outlook page button. (Overrides CMFCVisualManager::OnFillOutlookPageButton.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnFillTasksGroupInterior.) |
|
The framework calls this method when it fills the background of a CMFCTasksPane control. (Overrides CMFCVisualManager::OnFillTasksPaneBackground.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnHighlightMenuItem.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnHighlightRarelyUsedMenuItems.) |
|
(Overrides CMFCVisualManagerOfficeXP::OnUpdateSystemColors.) |
|
|
Data Members
Name |
Description |
---|---|
Specifies whether the Windows XP theme displays 3D tabs. |
Remarks
Use the CMFCVisualManagerWindows class to change the appearance of your application to mimic the current Windows XP or Windows Vista theme on the computer where the application runs.
However, a Windows theme might be unavailable if your application is running on a version of Windows earlier than Windows XP or if themes are disabled because the user is using the Classic view. If no theme is available, the application uses the default visual manager defined in CMFCVisualManager.
Example
The following example demonstrates how to use CMFCVisualManagerWindows. This code snippet is part of the Desktop Alert Demo sample.
CMFCVisualManager::SetDefaultManager (RUNTIME_CLASS (CMFCVisualManagerWindows));
Inheritance Hierarchy
Requirements
Header: afxvisualmanagerwindows.h
See Also
Reference
CMFCVisualManagerOfficeXP Class
CMFCVisualManager::SetDefaultManager