Dela via


CMFCVisualManager::GetInstance

Returns a pointer to the current CMFCVisualManager Class object for the application.

static CMFCVisualManager* GetInstance();

Return Value

A pointer to a CMFCVisualManager object.

Remarks

An application can only have one CMFCVisualManager object associated with it. This includes any object derived from the CMFCVisualManager class. This method returns a pointer to the associated CMFCVisualManager object. If the application does not have an associated CMFCVisualManager object, this method will create one and associate it with the application.

Requirements

Header: afxvisualmanager.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCVisualManager Class