Partilhar via


COccManager::CreateContainer

Called by the framework to create a control container.

virtual COleControlContainer* CreateContainer(
   CWnd* pWnd 
);

Parameters

  • pWnd
    A pointer to the window object associated with the custom site container.

Return Value

A pointer to the newly created container; otherwise NULL.

Remarks

For more information on creating custom sites, see COleControlContainer::AttachControlSite.

Requirements

Header: afxocc.h

See Also

Reference

COccManager Class

Hierarchy Chart

Other Resources

COccManager Members