Lines Matching refs:mainwindow

34 HWND		mainwindow;

158 if (GetWindowRect (mainwindow, &rect))
1277 mainwindow = CreateWindowEx (
1290 if (!mainwindow)
1294 MGL_registerFullScreenWindow (mainwindow);
1300 SetWindowLong(mainwindow, GWL_STYLE, WindowStyle | WS_VISIBLE);
1301 SetWindowLong(mainwindow, GWL_EXSTYLE, ExWindowStyle);
1304 if (!SetWindowPos (mainwindow,
1320 SetWindowPos (mainwindow, NULL, (int)vid_window_x.value,
1325 ShowWindow (mainwindow, SW_MINIMIZE);
1327 ShowWindow (mainwindow, SW_SHOWDEFAULT);
1329 UpdateWindow (mainwindow);
1338 hdc = GetDC(mainwindow);
1340 ReleaseDC(mainwindow, hdc);
1343 if ((windc = MGL_createWindowedDC(mainwindow)) == NULL)
1363 SendMessage (mainwindow, WM_SETICON, (WPARAM)TRUE, (LPARAM)hIcon);
1364 SendMessage (mainwindow, WM_SETICON, (WPARAM)FALSE, (LPARAM)hIcon);
1411 SendMessage (mainwindow, WM_SETICON, (WPARAM)1, (LPARAM)hIcon);
1412 SendMessage (mainwindow, WM_SETICON, (WPARAM)0, (LPARAM)hIcon);
1473 SetWindowLong(mainwindow, GWL_STYLE, WindowStyle | WS_VISIBLE);
1474 SetWindowLong(mainwindow, GWL_EXSTYLE, ExWindowStyle);
1476 if (!SetWindowPos (mainwindow,
1487 SetWindowPos (mainwindow, HWND_TOPMOST, 0, 0, 0, 0,
1489 ShowWindow (mainwindow, SW_SHOWDEFAULT);
1490 UpdateWindow (mainwindow);
1496 hdc = GetDC(mainwindow);
1498 ReleaseDC(mainwindow, hdc);
1501 if ((windc = MGL_createWindowedDC(mainwindow)) == NULL)
1661 SetForegroundWindow (mainwindow);
1696 SetWindowPos (mainwindow, HWND_TOP, 0, 0, 0, 0,
1700 SetForegroundWindow (mainwindow);
2032 ShowWindow (mainwindow, SW_MINIMIZE);
2191 PostMessage (HWND_BROADCAST, WM_PALETTECHANGED, (WPARAM)mainwindow, (LPARAM)0);
2202 if (mainwindow)
2203 DestroyWindow(mainwindow);
2271 hdcScreen = GetDC(mainwindow);
2300 ReleaseDC(mainwindow, hdcScreen);
2325 GetWindowRect (mainwindow, &trect);
2337 SetWindowPos (mainwindow, NULL, (int)vid_window_x.value,
2998 InvalidateRect (mainwindow, NULL, false);
3020 if (MessageBox (mainwindow, "Are you sure you want to quit?", "Confirm Exit",