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.
29 lines
554 B
C++
29 lines
554 B
C++
///////////////////////////////////////
|
|
// DlgSubclassApp.h
|
|
|
|
#ifndef DLGSUBCLASSAPP_H
|
|
#define DLGSUBCLASSAPP_H
|
|
|
|
#include "MyDialog.h"
|
|
|
|
|
|
// Declaration of the CDialogApp class
|
|
class CDlgSubclassApp : public CWinApp
|
|
{
|
|
public:
|
|
CDlgSubclassApp();
|
|
virtual ~CDlgSubclassApp();
|
|
virtual BOOL InitInstance();
|
|
CMyDialog& GetDialog() {return m_MyDialog;}
|
|
|
|
private:
|
|
CMyDialog m_MyDialog;
|
|
};
|
|
|
|
|
|
// returns a reference to the CDlgSubclassApp object
|
|
inline CDlgSubclassApp& GetSubApp() { return *((CDlgSubclassApp*)GetApp()); }
|
|
|
|
|
|
#endif // define DLGSUBCLASSAPP_H
|
|
|