[NTDLL]
[reactos.git] / base / applications / rapps / aboutdlg.c
1 /*
2 * PROJECT: ReactOS Applications Manager
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: base/applications/rapps/aboutdlg.c
5 * PURPOSE: About Dialog
6 * PROGRAMMERS: Dmitry Chapyshev (dmitry@reactos.org)
7 */
8
9 #include "rapps.h"
10
11
12 static
13 INT_PTR CALLBACK
14 AboutDlgProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam)
15 {
16 switch (Msg)
17 {
18 case WM_COMMAND:
19 {
20 switch (LOWORD(wParam))
21 {
22 case IDOK:
23 EndDialog(hDlg, LOWORD(wParam));
24 break;
25 }
26 }
27 break;
28 }
29
30 return FALSE;
31 }
32
33 VOID
34 ShowAboutDialog(VOID)
35 {
36 DialogBox(hInst,
37 MAKEINTRESOURCE(IDD_ABOUT_DIALOG),
38 hMainWnd,
39 AboutDlgProc);
40 }