mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2025-02-02 20:31:22 +00:00
d16da069e9
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()
|
|
{
|
|
}
|
|
|