mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2025-02-15 08:00:52 +00:00
This is a thin wrapper around the Win32 API used in the Win32 Updater Dialog implementation.
27 lines
413 B
C++
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()
|
|
{
|
|
}
|
|
|