Tip Use ClassView to jump to the CContainerApp::InitInstance
function and examine the code. Click the ClassView tab and expand CContainerApp
to display its member functions. Double-click InitInstance
to jump directly to its code.
AppWizard provides the application’s InitInstance
function as follows:
The resulting menu looks like this:
File | | Window
The two separator bars in the menu tell the framework where to insert pop-up menus provided by the server when the embedded item is activated in place.
The accelerator resource reflects that fewer accelerators are provided by the container application when an embedded item is activated in place, because the server provides accelerators specific to the activated item.