mirror of
https://github.com/reactos/reactos.git
synced 2024-09-29 14:09:10 +00:00
5842c7c6d4
- 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
28 lines
735 B
C++
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);
|
|
}
|