AboutDlg.h

Go to the documentation of this file.
00001 // aboutdlg.h : interface of the CAboutDlg class
00002 //
00004 
00005 #pragma once
00006 
00011 class CAboutDlg : public CDialogImpl<CAboutDlg>
00012 {
00013 public:
00014         enum { IDD = IDD_ABOUTBOX };
00015 
00016         BEGIN_MSG_MAP(CAboutDlg)
00017                 MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
00018                 COMMAND_ID_HANDLER(IDOK, OnCloseCmd)
00019                 COMMAND_ID_HANDLER(IDCANCEL, OnCloseCmd)
00020         END_MSG_MAP()
00021 
00022 // Handler prototypes (uncomment arguments if needed):
00023 //      LRESULT MessageHandler(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
00024 //      LRESULT CommandHandler(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
00025 //      LRESULT NotifyHandler(int /*idCtrl*/, LPNMHDR /*pnmh*/, BOOL& /*bHandled*/)
00026 
00027         LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
00028         {
00029                 CenterWindow(GetParent());
00030                 return TRUE;
00031         }
00032 
00033         LRESULT OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
00034         {
00035                 EndDialog(wID);
00036                 return 0;
00037         }
00038 };

Generated on Wed Sep 20 09:36:02 2006 for Skype Call Cost Estimator by  doxygen 1.4.6