Hello,
I'm using Workstation 16.0 on Windows 10 Pro 2004.
I have noticed,that if I enter full-screen and then exit full screen the workstation window border is approx. 2-3 pixels wider.
If I restart workstation, workstation window border size goes back to normal.
This really bothers me as well!
Okay, so I found the source of the issue, it's the VMUIView window getting the WS_EX_CLIENTEDGE extended window style after going full screen. If you remove that extended style, and resize the window (e.g. restore/maximize) to trigger a redraw/layout update, the border is back to normal.
I am not trying to promote any other applications, only provide an example that I am now using to alleviate this issue. It's a script using StrokesPlus.net (disclaimer, I am the author of the app) which finds the VMUIView window and removes the style, then restores/maximizes VMware.
var vmwareWindows = sp.WindowsFromTitlePartial("- VMware Workstation");
for(var j = 0; j < vmwareWindows.Count(); j++) {
var vmwareChildWindows = vmwareWindows[j].AllChildWindows;
for(var i = 0; i < vmwareChildWindows.Count(); i++) {
if(vmwareChildWindows[i].ClassName === "VMUIView") {
//Remove WS_EX_CLIENTEDGE
vmwareChildWindows[i].ExtendedStyle &= 0x200;
//Restore and maximize VMWare to refresh UI without border
vmwareWindows[j].Restore();
sp.Sleep(100);
vmwareWindows[j].Maximize();
}
}
}
Of course, you could probably make a simple AHK script or your own simple application as well. The key is removing the WS_EX_CLIENTEDGE extended style.