2020-11-11 10:29:13 +00:00
|
|
|
#pragma once
|
|
|
|
#include "resource.h"
|
2022-09-26 02:31:54 +00:00
|
|
|
#include <Project64\UserInterface\WTLControls\wtl-BitmapPicture.h>
|
2020-11-11 10:29:13 +00:00
|
|
|
|
|
|
|
class CAboutDlg :
|
|
|
|
public CDialogImpl<CAboutDlg>
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
BEGIN_MSG_MAP_EX(CAboutDlg)
|
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, OnOkCmd);
|
|
|
|
}
|
2020-11-11 10:29:13 +00:00
|
|
|
END_MSG_MAP()
|
|
|
|
|
2022-09-26 02:31:54 +00:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
IDD = IDD_About
|
|
|
|
};
|
2020-11-11 10:29:13 +00:00
|
|
|
|
|
|
|
CAboutDlg(CProjectSupport & Support);
|
|
|
|
|
|
|
|
private:
|
|
|
|
CAboutDlg(void);
|
2022-09-26 02:31:54 +00:00
|
|
|
CAboutDlg(const CAboutDlg &);
|
|
|
|
CAboutDlg & operator=(const CAboutDlg &);
|
2020-11-11 10:29:13 +00:00
|
|
|
|
2022-09-26 02:31:54 +00:00
|
|
|
void SetWindowDetais(int nIDDlgItem, int nAboveIDDlgItem, const wchar_t * Text, const HFONT & font);
|
2020-11-11 10:29:13 +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);
|
|
|
|
|
|
|
|
CProjectSupport & m_Support;
|
|
|
|
CBitmapPicture m_Logo;
|
|
|
|
CFont m_BoldFont;
|
|
|
|
CFont m_TextFont;
|
2021-03-17 08:27:23 +00:00
|
|
|
};
|