reactos/reactos/base/applications/rapps/aboutdlg.cpp
Alexander Shaposhnikov 5842c7c6d4 [RAPPS]
- Added language strings to all .rc
- Replaced hardcoded strings with resource counterparts
- Fixed settings loading always default
- Fixed force update not working
- Removed hInst from LoadStringW() where possible

svn path=/branches/GSoC_2017/rapps/; revision=75673
2017-08-26 08:39:42 +00:00

28 lines
735 B
C++

/*
* PROJECT: ReactOS Applications Manager
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/rapps/aboutdlg.cpp
* PURPOSE: About Dialog
* PROGRAMMERS: Dmitry Chapyshev (dmitry@reactos.org)
* Alexander Shaposhikov (chaez.san@gmail.com)
*/
#include "defines.h"
static INT_PTR CALLBACK AboutDlgProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam)
{
if (Msg == WM_COMMAND && LOWORD(wParam) == IDOK)
{
return EndDialog(hDlg, LOWORD(wParam));
}
return FALSE;
}
VOID ShowAboutDialog()
{
DialogBoxW(hInst,
MAKEINTRESOURCEW(IDD_ABOUT_DIALOG),
hMainWnd,
AboutDlgProc);
}