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.
33 lines
669 B
C++
33 lines
669 B
C++
///////////////////////////////////////
|
|
// MyDialog.h
|
|
|
|
#ifndef MYDIALOG_H
|
|
#define MYDIALOG_H
|
|
|
|
#include "dialog.h"
|
|
#include "resource.h"
|
|
#include "Button.h"
|
|
#include "Hyperlink.h"
|
|
|
|
|
|
// Declaration of the CMyDialog class
|
|
class CMyDialog : public CDialog
|
|
{
|
|
public:
|
|
CMyDialog(UINT nResID, CWnd* pParent = NULL);
|
|
CMyDialog(LPCTSTR lpszResName, CWnd* pParent = NULL);
|
|
void SetStatic(LPCTSTR szString);
|
|
virtual ~CMyDialog();
|
|
|
|
protected:
|
|
virtual BOOL OnInitDialog();
|
|
virtual INT_PTR DialogProc(UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
virtual BOOL OnCommand(UINT nID);
|
|
virtual void OnOK();
|
|
|
|
private:
|
|
CButton m_Button;
|
|
CHyperlink m_Hyperlink;
|
|
};
|
|
|
|
#endif //MYDIALOG_H
|