Let\'s say I have a window and I want to save its position when the window closes and restore it when the window is opened again. The typical way to do this is to call GetWi
The workaround is to call GetWindowRect() to get the actual window coordinates and copy them over the bad coordinates in WINDOWPLACEMENT::rcNormalPosition.