project64/Source/Project64/UserInterface/SupportEnterCode.h

36 lines
1.3 KiB
C
Raw Normal View History

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)
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)
2020-10-22 02:11:19 +00:00
COMMAND_ID_HANDLER(IDC_REQUEST_LINK, OnRequestCode)
END_MSG_MAP()
2016-08-11 10:38:45 +00:00
2020-10-22 02:11:19 +00:00
enum { IDD = IDD_Support_EnterCode };
CSupportEnterCode(CProjectSupport & Support);
2016-08-11 10:38:45 +00:00
private:
2020-10-22 02:11:19 +00:00
CSupportEnterCode(void);
CSupportEnterCode(const CSupportEnterCode&);
CSupportEnterCode& operator=(const CSupportEnterCode&);
2016-08-11 10:38:45 +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*/);
2020-10-22 02:11:19 +00:00
LRESULT OnRequestCode(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
CHyperLink m_RequestLink;
CProjectSupport & m_Support;
2021-03-17 08:32:47 +00:00
};