Partager via


COccManager Class

Manages various custom control sites; implemented by COleControlContainer and COleControlSite objects.

class COccManager : public CNoTrackObject

Members

Public Methods

Name

Description

COccManager::CreateContainer

Creates a COleContainer object.

COccManager::CreateDlgControls

Creates ActiveX controls, hosted by the associated COleContainer object.

COccManager::CreateSite

Creates a COleClientSite object.

COccManager::GetDefBtnCode

Retrieves the code of the default button.

COccManager::IsDialogMessage

Determines the target of a dialog message.

COccManager::IsLabelControl

Determines if the specified control is a label control.

COccManager::IsMatchingMnemonic

Determines if the current mnemonic matches the mnemonic of the specified control.

COccManager::OnEvent

Attempts to handle the specified event.

COccManager::PostCreateDialog

Frees resources allocated during dialog creation.

COccManager::PreCreateDialog

Processes a dialog template for ActiveX controls.

COccManager::SetDefaultButton

Toggles the default state of the specified control.

COccManager::SplitDialogTemplate

Separates any existing ActiveX controls from common controls in the specified dialog template.

Remarks

The base class, CNoTrackObject, is an undocumented base class (located in AFXTLS.H). Designed for use by the MFC framework, classes derived from the CNoTrackObject class are exempt from memory leak detection. It is not recommended that you derive directly from CNoTrackObject.

Inheritance Hierarchy

CNoTrackObject

COccManager

Requirements

Header: afxocc.h

See Also

Reference

Hierarchy Chart

COleControlSite Class

COleControlContainer Class