AboutDlg.cpp 488 B

1234567891011121314151617181920
  1. // aboutdlg.cpp : implementation of the CAboutDlg class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #include "stdafx.h"
  5. #include "resource.h"
  6. #include "aboutdlg.h"
  7. LRESULT CAboutDlg::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
  8. {
  9. CenterWindow(GetParent());
  10. return TRUE;
  11. }
  12. LRESULT CAboutDlg::OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
  13. {
  14. EndDialog(wID);
  15. return 0;
  16. }