From 21c65369ec4f8a5baaf031b247453a5088fa1d34 Mon Sep 17 00:00:00 2001 From: dreamforceinc Date: Mon, 18 Dec 2023 17:34:34 +0300 Subject: [PATCH] Updated README and Help text. --- README.md | 4 ++-- wCenterWindow/wCenterWindow.cpp | 2 +- wCenterWindow/wCenterWindow.rc | Bin 13796 -> 13856 bytes 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fb06f83..601b586 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,9 @@ or pressing `LCTRL + LWIN + MMB` (Middle Mouse Button). You can use `LCTRL + LWIN + I` hotkey for hide/show trayicon. You can also use commandline option `/hide` for hide trayicon at startup. -The `/noupdate` option is used to disable check for updates. By default, the check is repeated once a day. +The `/noupdate` option is used to disable check for updates. By default, the program checks for updates upon startup and once a day. -`Use workarea` option means that the window is centered without a taskbar, otherwise, the full resolution of the monitor will be used. +The `Use workarea` option means that the window is centered without a taskbar, otherwise, the full resolution of the monitor will be used. If some windows does not centers you should run wCenterWindow with administrative rights. diff --git a/wCenterWindow/wCenterWindow.cpp b/wCenterWindow/wCenterWindow.cpp index 84e07c2..2f90a97 100644 --- a/wCenterWindow/wCenterWindow.cpp +++ b/wCenterWindow/wCenterWindow.cpp @@ -360,7 +360,7 @@ LRESULT CALLBACK WndProc(HWND hMainWnd, UINT message, WPARAM wParam, LPARAM lPar logger.Out(L"%s(%d): Pressed the 'Help' menuitem", TEXT(__FUNCTION__), __LINE__); bKPressed = TRUE; - WCHAR szHelp[MAX_LOADSTRING * 12]; + WCHAR szHelp[MAX_LOADSTRING * 15]; LoadStringW(GetModuleHandleW(NULL), IDS_HELP, szHelp, _countof(szHelp)); MessageBoxW(hMainWnd, szHelp, szTitle, MB_OK | MB_ICONINFORMATION); bKPressed = FALSE; diff --git a/wCenterWindow/wCenterWindow.rc b/wCenterWindow/wCenterWindow.rc index b4f502730cda5d1ea96060bbaa1d6f7a4a275952..8f7c6400c93f3f544eb93582860f8e2f1b0c4a25 100644 GIT binary patch delta 104 zcmaEoy&z}9H?80Th9ZW1hIAmA$dJpRz>v(4!H^0hvl)tkyfmO(5s)rrC}2ndswe@< nfy6=le1<$As~9Mj2vk!77E=JS^CpXGYfp~R;@a$_y@(3{R;(Cy delta 48 zcmZ3G^CWx2H!b;Oh75*OhGd3p1_g#phGHOD1mqV0aUw$rL+WHtZSBo9+Do_qW=9Q$