Mercurial > mm7
comparison OSWindow.cpp @ 1986:3ff1a608324a
typo
author | zipi |
---|---|
date | Sat, 02 Nov 2013 12:33:57 +0000 |
parents | ef4dcee1b4a1 |
children | 7e2dd49832b5 |
comparison
equal
deleted
inserted
replaced
1985:ef4dcee1b4a1 | 1986:3ff1a608324a |
---|---|
516 #ifdef _DEBUG | 516 #ifdef _DEBUG |
517 if (!GetMenu(api_handle)) | 517 if (!GetMenu(api_handle)) |
518 window_total_height += GetSystemMetrics(SM_CYMENU); | 518 window_total_height += GetSystemMetrics(SM_CYMENU); |
519 #endif | 519 #endif |
520 MoveWindow(api_handle, ReadWindowsRegistryInt("window X", (GetSystemMetrics(SM_CXSCREEN) - window_total_width) / 2), | 520 MoveWindow(api_handle, ReadWindowsRegistryInt("window X", (GetSystemMetrics(SM_CXSCREEN) - window_total_width) / 2), |
521 ReadWindowsRegistryInt("window X", (GetSystemMetrics(SM_CYSCREEN) - window_total_height) / 2), | 521 ReadWindowsRegistryInt("window Y", (GetSystemMetrics(SM_CYSCREEN) - window_total_height) / 2), |
522 window_total_width, | 522 window_total_width, |
523 window_total_height, 0); | 523 window_total_height, 0); |
524 //SetWindowPos(api_handle, HWND_TOP, 0, 0, -1, -1, SWP_NOSIZE | SWP_SHOWWINDOW); | |
524 #ifdef _DEBUG | 525 #ifdef _DEBUG |
525 static HMENU debug_menu = CreateDebugMenuPanel(); | 526 static HMENU debug_menu = CreateDebugMenuPanel(); |
526 SetMenu(api_handle, debug_menu); | 527 SetMenu(api_handle, debug_menu); |
527 #endif | 528 #endif |
528 } | 529 } |