All pastes #393094 Raw Edit

Mine

public text v1 · immutable
·published 2007-03-13 09:38 UTC
rendered paste body
#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;