Поделиться через


COleServerDoc::CreateInPlaceFrame

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

virtual COleIPFrameWnd* CreateInPlaceFrame(
   CWnd* pParentWnd 
);

Параметры

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

Возвращаемое значение

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

Заметки

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.

Требования

Header: afxole.h

См. также

Основные понятия

COleServerDoc Class

COleServerDoc Members

Hierarchy Chart

COleServerDoc::DestroyInPlaceFrame