// aboutdlg.h : interface of the CAboutDlg class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_ABOUTDLG_H__ECD566A9_0AF1_4606_833F_348B7C6BB2B1__INCLUDED_) #define AFX_ABOUTDLG_H__ECD566A9_0AF1_4606_833F_348B7C6BB2B1__INCLUDED_ #include "../CxImage/CxImage/ximage.h" #include "ScrollerCtrl.h" #ifdef _APPUPDLIB #include "\WeOnlyDo\wodAppUpdate\Code\Component\resource.h" #endif class CAboutDlg : public CDialogImpl { public: enum { IDD = IDD_ABOUTBOX }; CAboutDlg(); ~CAboutDlg(); CxImage m_Image; // CFont DlgTitle1; CScrollerCtrl m_scroller; HBRUSH m_WhiteBrush; BEGIN_MSG_MAP(CAboutDlg) // ATLTRACE("Msg = %x\r\n", uMsg); MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog) MESSAGE_HANDLER(WM_PAINT, OnPaint) MESSAGE_HANDLER(WM_CTLCOLORSTATIC, OnCtlColorStatic) MESSAGE_HANDLER(WM_CTLCOLORDLG, OnCtlColorStatic) COMMAND_ID_HANDLER(IDOK, OnCloseCmd) COMMAND_ID_HANDLER(IDCANCEL, OnCloseCmd) END_MSG_MAP() // Handler prototypes (uncomment arguments if needed): // LRESULT MessageHandler(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) // LRESULT CommandHandler(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) // LRESULT NotifyHandler(int /*idCtrl*/, LPNMHDR /*pnmh*/, BOOL& /*bHandled*/) LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/); LRESULT OnPaint(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/); LRESULT OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/); LRESULT OnCtlColorStatic(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM lParam, BOOL& /*bHandled*/); LRESULT OnRegisterCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/); }; #endif // !defined(AFX_ABOUTDLG_H__ECD566A9_0AF1_4606_833F_348B7C6BB2B1__INCLUDED_)