2016-08-11 10:38:45 +00:00
|
|
|
#pragma once
|
2020-10-22 02:11:19 +00:00
|
|
|
#include "resource.h"
|
2016-08-11 10:38:45 +00:00
|
|
|
|
|
|
|
class CSupportEnterCode :
|
|
|
|
public CDialogImpl<CSupportEnterCode>
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
BEGIN_MSG_MAP_EX(CSettingConfig)
|
2022-09-26 02:31:54 +00:00
|
|
|
{
|
|
|
|
MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog);
|
|
|
|
MESSAGE_HANDLER(WM_CTLCOLORSTATIC, OnColorStatic);
|
|
|
|
MESSAGE_HANDLER(WM_ERASEBKGND, OnEraseBackground);
|
|
|
|
COMMAND_ID_HANDLER(IDOK, OnOkCmd);
|
|
|
|
COMMAND_ID_HANDLER(IDCANCEL, OnCloseCmd);
|
|
|
|
COMMAND_ID_HANDLER(IDC_REQUEST_LINK, OnRequestCode);
|
|
|
|
}
|
2020-10-22 02:11:19 +00:00
|
|
|
END_MSG_MAP()
|
2016-08-11 10:38:45 +00:00
|
|
|
|
2022-09-26 02:31:54 +00:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
IDD = IDD_Support_EnterCode
|
|
|
|
};
|
2020-10-22 02:11:19 +00:00
|
|
|
|
|
|
|
CSupportEnterCode(CProjectSupport & Support);
|
2016-08-11 10:38:45 +00:00
|
|
|
|
|
|
|
private:
|
2020-10-22 02:11:19 +00:00
|
|
|
CSupportEnterCode(void);
|
2022-09-26 02:31:54 +00:00
|
|
|
CSupportEnterCode(const CSupportEnterCode &);
|
|
|
|
CSupportEnterCode & operator=(const CSupportEnterCode &);
|
2020-10-22 02:11:19 +00:00
|
|
|
|
2022-09-26 02:31:54 +00:00
|
|
|
LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL & /*bHandled*/);
|
|
|
|
LRESULT OnColorStatic(UINT /*uMsg*/, WPARAM wParam, LPARAM lParam, BOOL & bHandled);
|
|
|
|
LRESULT OnEraseBackground(UINT /*uMsg*/, WPARAM wParam, LPARAM /*lParam*/, BOOL & bHandled);
|
|
|
|
LRESULT OnOkCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL & /*bHandled*/);
|
|
|
|
LRESULT OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL & /*bHandled*/);
|
|
|
|
LRESULT OnRequestCode(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL & /*bHandled*/);
|
2020-10-22 02:11:19 +00:00
|
|
|
|
|
|
|
CHyperLink m_RequestLink;
|
|
|
|
CProjectSupport & m_Support;
|
2021-03-17 08:32:47 +00:00
|
|
|
};
|