Mine
public text v1 · immutable#include <afxwin.h>
struct CMainFrame : public CFrameWnd
{
CMainFrame()
{
Create(NULL, "Windows Application Tester");
}
};
struct CExerciseApp : public CWinApp
{
BOOL InitInstance()
{
CMainFrame *Frame = new CMainFrame();
m_pMainWnd = Frame;
Frame->ShowWindow(SW_NORMAL);
Frame->UpdateWindow();
return TRUE;
}
};
CExerciseApp theApp;