It's pretty annoying that the XUnit runner always starts with the same width and height. This change adds code to save and restore the position. It uses the Win32 GetWindowPlacement and SetWindowPlacement APIs to ensure that the normal position is properly saved and restored regardless of whether the window is maximized or not.
It's pretty annoying that the XUnit runner always starts with the same width and height. This change adds code to save and restore the position. It uses the Win32
GetWindowPlacement
andSetWindowPlacement
APIs to ensure that the normal position is properly saved and restored regardless of whether the window is maximized or not.Please review this @Pilchie