2015-04-22 16:53:55 +00:00
|
|
|
/*
|
2017-09-09 20:38:06 +00:00
|
|
|
* PROJECT: ReactOS Applications Manager
|
|
|
|
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
|
|
|
* FILE: base/applications/rapps/aboutdlg.cpp
|
|
|
|
* PURPOSE: About Dialog
|
2017-09-09 20:44:43 +00:00
|
|
|
* COPYRIGHT: Copyright 2009 Dmitry Chapyshev (dmitry@reactos.org)
|
|
|
|
* Copyright 2017 Alexander Shaposhikov (sanchaez@reactos.org)
|
2015-04-22 16:53:55 +00:00
|
|
|
*/
|
2017-09-10 23:44:22 +00:00
|
|
|
#include "rapps.h"
|
2015-04-22 16:53:55 +00:00
|
|
|
|
2017-08-08 21:32:11 +00:00
|
|
|
static INT_PTR CALLBACK AboutDlgProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam)
|
2015-04-22 16:53:55 +00:00
|
|
|
{
|
2018-02-03 22:40:11 +00:00
|
|
|
if ((Msg == WM_COMMAND) &&
|
|
|
|
(LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL))
|
2015-04-22 16:53:55 +00:00
|
|
|
{
|
2017-08-08 21:32:11 +00:00
|
|
|
return EndDialog(hDlg, LOWORD(wParam));
|
2015-04-22 16:53:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2017-08-08 21:32:11 +00:00
|
|
|
VOID ShowAboutDialog()
|
2015-04-22 16:53:55 +00:00
|
|
|
{
|
2017-08-02 12:50:53 +00:00
|
|
|
DialogBoxW(hInst,
|
2017-08-26 08:39:42 +00:00
|
|
|
MAKEINTRESOURCEW(IDD_ABOUT_DIALOG),
|
|
|
|
hMainWnd,
|
|
|
|
AboutDlgProc);
|
2015-04-22 16:53:55 +00:00
|
|
|
}
|