COleServerDoc::CreateInPlaceFrame

The framework calls this function to create a frame window for in-place editing.

virtual COleIPFrameWnd* CreateInPlaceFrame(
   CWnd* pParentWnd 
);

Parameters

  • pParentWnd
    Pointer to the container application's parent window.

Return Value

A pointer to the in-place frame window, or NULL if unsuccessful.

Remarks

The default implementation uses information specified in the document template to create the frame. The view used is the first view created for the document. This view is temporarily detached from the original frame and attached to the newly created frame.

This is an advanced overridable.

Requirements

Header: afxole.h

See Also

Reference

COleServerDoc Class

Hierarchy Chart

COleServerDoc::DestroyInPlaceFrame

Other Resources

COleServerDoc Members