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 b4f5027..8f7c640 100644 Binary files a/wCenterWindow/wCenterWindow.rc and b/wCenterWindow/wCenterWindow.rc differ