CDocTemplate::SetContainerInfo
voidSetContainerInfo(UINTnIDOleInPlaceContainer**);**
Parameters
nIDOleInPlaceContainer
The ID of the resources used when an embedded object is activated.
Remarks
Call this function to set the resources to be used when an OLE 2 object is in-place activated. These resources may include menus and accelerator tables. This function is usually called in the CWinApp::InitInstance function of your application.
The menu associated with nIDOleInPlaceContainer contains separators that allow the menu of the activated in-place item to merge with the menu of the container application. For more information about merging server and container menus, see the article in Visual C++ Programmer's Guide.
CDocTemplate Overview | Class Members | Hierarchy Chart
See Also CDocTemplate::SetServerInfo, CWinApp::InitInstance, CMultiDocTemplate::CMultiDocTemplate