Browse Source

Properly switch to the Properties window when another instance is running and minimized

pull/492/head 22000.348.39.2_daf349f
Valentin Radu 4 years ago
parent
commit
daf349f464
  1. 1
      CHANGELOG.md
  2. 2
      ExplorerPatcher/GUI.c
  3. 6
      version.h

1
CHANGELOG.md

@ -25,6 +25,7 @@ Tested on build 22000.348. @@ -25,6 +25,7 @@ Tested on build 22000.348.
* Application starts with limited functionality on builds lacking hardcoded symbol information; symbol downloading is disabled for now, by default, but can be enabled in the "Advanced" settings section of "Properties"
* Improvements to how hung windows are treated by the Windows 10 window switcher; fixed an issue that severely delayed the time it took the window switcher to display when a window hung on the screen (#449)
* Clicking "Close" in the Windows 10 window switcher is now more tolerant to small mouse movements (#110) (.1)
* The existing "Properties" window is properly displayed if opening it when another instance is already running and is minimized (.2)
## 22000.318.38

2
ExplorerPatcher/GUI.c

@ -1659,7 +1659,7 @@ __declspec(dllexport) int ZZGUI(HWND hWnd, HINSTANCE hInstance, LPSTR lpszCmdLin @@ -1659,7 +1659,7 @@ __declspec(dllexport) int ZZGUI(HWND hWnd, HINSTANCE hInstance, LPSTR lpszCmdLin
HWND hOther = NULL;
if (hOther = FindWindowW(L"ExplorerPatcher_GUI_" _T(EP_CLSID), NULL))
{
SetForegroundWindow(hOther);
SwitchToThisWindow(hOther, TRUE);
return 0;
}

6
version.h

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
#define VER_MAJOR 22000
#define VER_MINOR 348
#define VER_BUILD_HI 39
#define VER_BUILD_LO 1
#define VER_BUILD_LO 2
#define VER_FLAGS VS_FF_PRERELEASE
@ -12,5 +12,5 @@ @@ -12,5 +12,5 @@
#define VER_STR(arg) #arg
// The String form of the version numbers
#define VER_FILE_STRING VALUE "FileVersion", "22000.348.39.1"
#define VER_PRODUCT_STRING VALUE "ProductVersion", "22000.348.39.1"
#define VER_FILE_STRING VALUE "FileVersion", "22000.348.39.2"
#define VER_PRODUCT_STRING VALUE "ProductVersion", "22000.348.39.2"

Loading…
Cancel
Save