Update-Installer/external/win32cpp/WCE samples/DialogDemo/DialogApp.cpp
Robert Knight d16da069e9 Add Win++ library to external
This is a thin wrapper around the Win32 API used in the Win32
Updater Dialog implementation.
2011-08-23 19:54:52 +01:00

27 lines
397 B
C++

/////////////////////////////////////////////////
//App.cpp - Definitions for the CDialogApp class
#include "dialog.h"
#include "resource.h"
#include "DialogApp.h"
CDialogApp::CDialogApp() : MyDialog(IDD_COMCTLS)
{
}
BOOL CDialogApp::InitInstance()
{
//Display the Modal Dialog
MyDialog.DoModal();
//End the program
::PostQuitMessage(0);
return TRUE;
}
CDialogApp::~CDialogApp()
{
}