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


COleIPFrameWnd::OnCreateControlBars

The framework calls the OnCreateControlBars function when an item is activated for in-place editing.

virtual BOOL OnCreateControlBars(
   CWnd* pWndFrame,
   CWnd* pWndDoc 
);
virtual BOOL OnCreateControlBars(
   CFrameWnd* pWndFrame,
   CFrameWnd* pWndDoc 
);

Параметры

  • pWndFrame
    Pointer to the container application's frame window.

  • pWndDoc
    Pointer to the container's document-level window. Can be NULL if the container is an SDI application.

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

Nonzero on success; otherwise, 0.

Заметки

The default implementation does nothing. Override this function to perform any special processing required when control bars are created.

Требования

Header: afxole.h

См. также

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

COleIPFrameWnd Class

COleIPFrameWnd Members

Hierarchy Chart

COleServerDoc::ActivateInPlace