From 2b340791b9e526a1626a11ae6da9a608acee7516 Mon Sep 17 00:00:00 2001 From: dreamforceinc Date: Sat, 16 Dec 2023 04:26:33 +0300 Subject: [PATCH] Added 'Help' item into the popup menu. --- wCenterWindow/resource.h | 3 ++- wCenterWindow/wCenterWindow.cpp | 2 +- wCenterWindow/wCenterWindow.rc | Bin 13378 -> 13568 bytes 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wCenterWindow/resource.h b/wCenterWindow/resource.h index 19c0ab3..78aca4b 100644 --- a/wCenterWindow/resource.h +++ b/wCenterWindow/resource.h @@ -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 diff --git a/wCenterWindow/wCenterWindow.cpp b/wCenterWindow/wCenterWindow.cpp index 23ea39f..c56abb9 100644 --- a/wCenterWindow/wCenterWindow.cpp +++ b/wCenterWindow/wCenterWindow.cpp @@ -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); diff --git a/wCenterWindow/wCenterWindow.rc b/wCenterWindow/wCenterWindow.rc index 08adaec0c6b84ee48773552997e22ddc05c044bc..45c0a56925708d9ae9f0cce947bf17423a3017cb 100644 GIT binary patch delta 70 zcmX?<(U7%4OMdbuc`J4ghE#?ehJwk4a@vy{#JDE$vP@2p69WpnGWakAOsS>ilUN}6Lh#Xm#KI00sz7N3R3_8