Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
COccManager Class
Collapse the table of content
Expand the table of content

COccManager Class

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

class COccManager : public CNoTrackObject

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.

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.

CNoTrackObject

COccManager

Header: afxocc.h

Show:
© 2015 Microsoft