mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
Make Help->About call ShellAbout
svn path=/trunk/; revision=7731
This commit is contained in:
parent
83ea26e456
commit
a504f4dba3
2 changed files with 4 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#include <shellapi.h>
|
||||||
#include <tchar.h>
|
#include <tchar.h>
|
||||||
|
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
|
@ -134,7 +135,9 @@ void OnHelpTopics(void)
|
||||||
|
|
||||||
void OnHelpAbout(void)
|
void OnHelpAbout(void)
|
||||||
{
|
{
|
||||||
|
ShellAbout(hDlgWnd, _T("ReactOS Calculator"), _T(""), LoadIcon(hInst, MAKEINTRESOURCE(IDI_CALC)));
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnButtonClick(int ButtonID)
|
void OnButtonClick(int ButtonID)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
#define ID_MENU_EDIT 0
|
#define ID_MENU_EDIT 0
|
||||||
#define ID_MENU_VIEW 1
|
#define ID_MENU_VIEW 1
|
||||||
#define ID_MENU_HELP 2
|
#define ID_MENU_HELP 2
|
||||||
|
#define IDI_CALC 100
|
||||||
#define IDD_STANDARD 101
|
#define IDD_STANDARD 101
|
||||||
#define IDD_SCIENTIFIC 102
|
#define IDD_SCIENTIFIC 102
|
||||||
#define IDR_CALC_STANDARD 103
|
#define IDR_CALC_STANDARD 103
|
||||||
|
|
Loading…
Reference in a new issue