This member function is called by the framework when an application requests that the Windows window be created by calling the Create or CreateEx member function.
afx_msg int OnCreate( LPCREATESTRUCT lpCreateStruct );
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::Create, CWnd::CreateEx, CWnd::Default, CWnd::FromHandle