1 // aboutdlg.h : interface of the CAboutDlg class
3 /////////////////////////////////////////////////////////////////////////////
7 #include "gdipp_demo/resource.h"
9 class CAboutDlg
: public CDialogImpl
<CAboutDlg
>
12 enum { IDD
= IDD_ABOUTBOX
};
14 BEGIN_MSG_MAP(CAboutDlg
)
15 MESSAGE_HANDLER(WM_INITDIALOG
, OnInitDialog
)
16 MESSAGE_HANDLER(WM_CLOSE
, OnClose
)
17 COMMAND_ID_HANDLER(IDOK
, OnCloseCmd
)
20 // Handler prototypes (uncomment arguments if needed):
21 // LRESULT MessageHandler(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
22 // LRESULT CommandHandler(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
23 // LRESULT NotifyHandler(int /*idCtrl*/, LPNMHDR /*pnmh*/, BOOL& /*bHandled*/)
25 LRESULT
OnInitDialog(UINT
/*uMsg*/, WPARAM
/*wParam*/, LPARAM
/*lParam*/, BOOL
& /*bHandled*/);
26 LRESULT
OnClose(UINT
/*uMsg*/, WPARAM wParam
, LPARAM
/*lParam*/, BOOL
& /*bHandled*/);
27 LRESULT
OnCloseCmd(WORD
/*wNotifyCode*/, WORD wID
, HWND
/*hWndCtl*/, BOOL
& /*bHandled*/);