AboutDlg.h 929 B

12345678910111213141516171819202122232425
  1. // aboutdlg.h : interface of the CAboutDlg class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #pragma once
  5. class CAboutDlg : public CDialogImpl<CAboutDlg>
  6. {
  7. public:
  8. enum { IDD = IDD_ABOUTBOX };
  9. BEGIN_MSG_MAP(CAboutDlg)
  10. MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
  11. COMMAND_ID_HANDLER(IDOK, OnCloseCmd)
  12. COMMAND_ID_HANDLER(IDCANCEL, OnCloseCmd)
  13. END_MSG_MAP()
  14. // Handler prototypes (uncomment arguments if needed):
  15. // LRESULT MessageHandler(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
  16. // LRESULT CommandHandler(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
  17. // LRESULT NotifyHandler(int /*idCtrl*/, LPNMHDR /*pnmh*/, BOOL& /*bHandled*/)
  18. LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/);
  19. LRESULT OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
  20. };