-
David Cole authored
The client rectangle on Windows 8 was coming out 8 pixels too narrow and 8 pixels too short using the GetSystemMetrics technique. Using AdjustWindowRect yields the expected client area after the CreateWindow call. This reduces test failures from 330-something to 50-something on my Windows 8 development machine. Related stack overflow question: http://stackoverflow.com/questions/11829249/visual-studio-2012-app-window-creation-resizing-differ-from-vs2008-window-creati AdjustWindowRect docs: http://msdn.microsoft.com/en-us/library/windows/desktop/ms632665%28v=vs.85%29.aspx Change-Id: I63783ba438c47ed564ab6ff5c53e268bfabc207c
5f8b3c0c