02634bd528a587884a0004332aa32916fced0453
[reactos.git] / reactos / base / applications / rapps / aboutdlg.cpp
1 /*
2 * PROJECT: ReactOS Applications Manager
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: base/applications/rapps/aboutdlg.cpp
5 * PURPOSE: About Dialog
6 * PROGRAMMERS: Dmitry Chapyshev (dmitry@reactos.org)
7 * Alexander Shaposhikov (chaez.san@gmail.com)
8 */
9 #include "defines.h"
10
11 static INT_PTR CALLBACK AboutDlgProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam)
12 {
13 if (Msg == WM_COMMAND && LOWORD(wParam) == IDOK)
14 {
15 return EndDialog(hDlg, LOWORD(wParam));
16 }
17
18 return FALSE;
19 }
20
21 VOID ShowAboutDialog()
22 {
23 DialogBoxW(hInst,
24 MAKEINTRESOURCEW(IDD_ABOUT_DIALOG),
25 hMainWnd,
26 AboutDlgProc);
27 }