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


CFrameWnd::OnCreateClient

Called by the framework during the execution of OnCreate.

virtual BOOL OnCreateClient(
   LPCREATESTRUCT lpcs,
   CCreateContext* pContext 
);

Параметры

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

Nonzero if successful; otherwise 0.

Заметки

Never call this function.

The default implementation of this function creates a CView object from the information provided in pContext, if possible.

Override this function to override values passed in the CCreateContext object or to change the way controls in the main client area of the frame window are created. The CCreateContext members you can override are described in the CCreateContext class.

ПримечаниеПримечание.

Do not replace values passed in the CREATESTRUCT structure. They are for informational use only. If you want to override the initial window rectangle, for example, override the CWnd member function PreCreateWindow.

Требования

Header: afxwin.h

См. также

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

CFrameWnd Class

CFrameWnd Members

Hierarchy Chart