Update-Installer/external/win32cpp/WCE samples/DlgSubclass/DlgSubclassApp.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
413 B
C++

///////////////////////////////////////
// DlgSubclassApp.cpp
#include "resource.h"
#include "DlgSubclassApp.h"
// Definitions for the CDialogApp class
CDlgSubclassApp::CDlgSubclassApp() : m_MyDialog(IDD_DIALOG1)
{
}
BOOL CDlgSubclassApp::InitInstance()
{
//Display the Modal Dialog
m_MyDialog.DoModal();
//End the program
::PostQuitMessage(0);
return TRUE;
}
CDlgSubclassApp::~CDlgSubclassApp()
{
}