mirror of
https://github.com/reactos/reactos.git
synced 2025-08-09 14:23:13 +00:00
[0.4.13][RAPPS] Pick some simplifications from master up to 0.4.15-dev-3726-gc262020 (e.g. CORE-18018 and (#2751))
As the dialog simply displays the copyright names and nothing particular it makes sense to use ShellAboutW() instead. Several fixes ported back: 0.4.15-dev-3726-gc262020016
README CORE-18018 0.4.15-dev-3724-g3a7c0d82d2
size fallback part 1 CORE-18018 0.4.15-dev-3569-gb5a6357d93
available.h/.cpp Strip 3 useless functions 0.4.15-dev-384-g393a2c42fe
CDPath in README 0.4.15-dev-227-ga6084d7440
ShellAbout() (#2751) and some whitespace corrections, especially in cabinet.cpp
This commit is contained in:
parent
fc807cf0d8
commit
bcdc88f70b
34 changed files with 61 additions and 324 deletions
|
@ -1469,6 +1469,19 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
VOID ShowAboutDlg()
|
||||
{
|
||||
ATL::CStringW szApp;
|
||||
ATL::CStringW szAuthors;
|
||||
HICON hIcon;
|
||||
|
||||
szApp.LoadStringW(IDS_APPTITLE);
|
||||
szAuthors.LoadStringW(IDS_APP_AUTHORS);
|
||||
hIcon = LoadIconW(hInst, MAKEINTRESOURCEW(IDI_MAIN));
|
||||
ShellAboutW(m_hWnd, szApp, szAuthors, hIcon);
|
||||
DestroyIcon(hIcon);
|
||||
}
|
||||
|
||||
VOID OnCommand(WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
WORD wCommand = LOWORD(wParam);
|
||||
|
@ -1605,7 +1618,7 @@ private:
|
|||
break;
|
||||
|
||||
case ID_ABOUT:
|
||||
ShowAboutDialog();
|
||||
ShowAboutDlg();
|
||||
break;
|
||||
|
||||
case ID_CHECK_ALL:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue