CMFCBaseVisualManager Class
A layer between derived visual managers and the Windows Theme API.
CMFCBaseVisualManager loads UxTheme.dll, if available, and manages access to Windows Theme API methods.
This class is for internal use only.
class CMFCBaseVisualManager: public CObject
Members
Public Constructors
Name |
Description |
Constructs and initializes a CMFCBaseVisualManager object. |
|
CMFCBaseVisualManager::~CMFCBaseVisualManager |
Destructor. |
Public Methods
Name |
Description |
Draws a check box control by using the current Windows theme. |
|
Draws a combo box border using the current Windows theme. |
|
Draws a combo box drop-down button using the current Windows theme. |
|
Draws a push button using the current Windows theme. |
|
Draws a radio button control by using the current Windows theme. |
|
Draws a progress bar on a status bar control (CMFCStatusBar Class) using the current Windows theme. |
|
Fills the background of the rebar control by using the current Windows theme. |
|
Gets the current Windows theme. |
Protected Methods
Name |
Description |
Calls CloseThemeData for all handles obtained in UpdateSystemColors. |
|
Calls OpenThemeData to obtain handles for drawing various controls: windows, toolbars, buttons, and so on. |
Remarks
You do not have to instantiate objects of this class directly.
Because it is a base class for all visual managers, you can just call CMFCVisualManager::GetInstance, obtain a pointer to the current Visual Manager, and access the methods for CMFCBaseVisualManager using that pointer. However, if you have to display a control by using the current Windows theme, it is better to use the CMFCVisualManagerWindows interface.
Inheritance Hierarchy
Requirements
Header: afxvisualmanager.h