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