revert test code

This commit is contained in:
Peter Tissen 2014-01-23 20:30:35 +01:00
parent 4a4488eb98
commit d8b4d653f1

View File

@ -328,8 +328,7 @@ namespace MainWindow
const int y = 0; const int y = 0;
const int cx = ::GetSystemMetrics(SM_CXSCREEN); const int cx = ::GetSystemMetrics(SM_CXSCREEN);
const int cy = ::GetSystemMetrics(SM_CYSCREEN); const int cy = ::GetSystemMetrics(SM_CYSCREEN);
ERROR_LOG(CPU,"xres: %d yres: %d",cx,cy); ::SetWindowPos(hWnd, HWND_TOPMOST, x, y, cx, cy, SWP_FRAMECHANGED);
::SetWindowPos(hWnd, HWND_TOPMOST, -10, -10, cx, cy, SWP_FRAMECHANGED);
// Set full screen indicator. // Set full screen indicator.
g_Config.bFullScreen = true; g_Config.bFullScreen = true;
@ -747,7 +746,6 @@ namespace MainWindow
} }
BOOL Show(HINSTANCE hInstance, int nCmdShow) { BOOL Show(HINSTANCE hInstance, int nCmdShow) {
SetProcessDPIAware();
hInst = hInstance; // Store instance handle in our global variable. hInst = hInstance; // Store instance handle in our global variable.
RECT rc = DetermineWindowRectangle(); RECT rc = DetermineWindowRectangle();