Update-Installer/external/win32cpp/WCE samples/DlgSubclass/MyDialog.h
Robert Knight d16da069e9 Add Win++ library to external
This is a thin wrapper around the Win32 API used in the Win32
Updater Dialog implementation.
2011-08-23 19:54:52 +01:00

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