Use Slim Reader/Writer lock to replace CRITICAL_SECTION (better performance).
[gdipp.git] / gdipp_demo / AboutDlg.cpp
blob268ecf6e743f22ad6df75141cd0c6fdc691a17b3
1 // aboutdlg.cpp : implementation of the CAboutDlg class
2 //
3 /////////////////////////////////////////////////////////////////////////////
5 #include "stdafx.h"
6 #include "AboutDlg.h"
8 LRESULT CAboutDlg::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
10 CenterWindow(GetParent());
11 return TRUE;
14 LRESULT CAboutDlg::OnClose(UINT /*uMsg*/, WPARAM wParam, LPARAM /*lParam*/, BOOL& /*bHandled*/)
16 EndDialog(static_cast<int>(wParam));
17 return 0;
20 LRESULT CAboutDlg::OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
22 EndDialog(wID);
23 return 0;