Added 'Help' item into the popup menu.
This commit is contained in:
@@ -31,9 +31,10 @@
|
||||
#define IDR_MENU 106
|
||||
#define ID_POPUPMENU_ICON 107
|
||||
#define ID_POPUPMENU_AREA 108
|
||||
#define ID_POPUPMENU_HELP 109
|
||||
#define ID_POPUPMENU_ABOUT 110
|
||||
#define ID_POPUPMENU_EXIT 111
|
||||
#define IDS_ABOUT 112
|
||||
#define IDS_HELP 112
|
||||
#define IDS_ERR_MAIN 113
|
||||
#define IDS_ERR_CLASS 114
|
||||
#define IDS_ERR_WND 115
|
||||
|
||||
@@ -639,7 +639,7 @@ INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
MultiByteToWideChar(1251, 0, PRODUCT_NAME_FULL, _countof(PRODUCT_NAME_FULL), szAboutProgName, MAX_LOADSTRING);
|
||||
MultiByteToWideChar(1251, 0, PRODUCT_COPYRIGHT, _countof(PRODUCT_COPYRIGHT), szAboutCopyright, MAX_LOADSTRING);
|
||||
MultiByteToWideChar(1251, 0, ABOUT_BUILD, _countof(ABOUT_BUILD), szAboutBuildTime, MAX_LOADSTRING);
|
||||
LoadStringW(GetModuleHandleW(NULL), IDS_ABOUT, szAboutHelp, _countof(szAboutHelp));
|
||||
LoadStringW(GetModuleHandleW(NULL), IDS_HELP, szAboutHelp, _countof(szAboutHelp));
|
||||
SetDlgItemTextW(hDlg, IDC_ABOUT_PROGNAME, szAboutProgName);
|
||||
SetDlgItemTextW(hDlg, IDC_ABOUT_COPYRIGHT, szAboutCopyright);
|
||||
SetDlgItemTextW(hDlg, IDC_ABOUT_BUILDTIME, szAboutBuildTime);
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user