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.
30 lines
528 B
C++
30 lines
528 B
C++
#ifndef MYDIALOG_H
|
|
#define MYDIALOG_H
|
|
|
|
|
|
#include "dialog.h"
|
|
#include "resource.h"
|
|
|
|
|
|
class CMyDialog : public CDialog
|
|
{
|
|
public:
|
|
CMyDialog(UINT nResID, CWnd* pParent = NULL);
|
|
virtual ~CMyDialog();
|
|
void AddToEdit();
|
|
void AddToListBox();
|
|
void AddToProgressBar();
|
|
void AddToScrollBars();
|
|
void AddToSlider();
|
|
void AddToComboBox();
|
|
void AddToButton();
|
|
|
|
private:
|
|
virtual BOOL OnInitDialog();
|
|
virtual INT_PTR DialogProc(UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
virtual void OnOK();
|
|
|
|
int m_nCounter;
|
|
};
|
|
|
|
#endif //MYDIALOG_H
|