Lines Matching defs:mainwindow

36 HWND		mainwindow;

162 if (GetWindowRect (mainwindow, &rect))
1318 mainwindow = CreateWindowEx (
1331 if (!mainwindow)
1335 MGL_registerFullScreenWindow (mainwindow);
1341 SetWindowLong(mainwindow, GWL_STYLE, WindowStyle | WS_VISIBLE);
1342 SetWindowLong(mainwindow, GWL_EXSTYLE, ExWindowStyle);
1345 if (!SetWindowPos (mainwindow,
1361 SetWindowPos (mainwindow, NULL, (int)vid_window_x.value,
1366 ShowWindow (mainwindow, SW_MINIMIZE);
1368 ShowWindow (mainwindow, SW_SHOWDEFAULT);
1370 UpdateWindow (mainwindow);
1379 hdc = GetDC(mainwindow);
1381 ReleaseDC(mainwindow, hdc);
1384 if ((windc = MGL_createWindowedDC(mainwindow)) == NULL)
1404 SendMessage (mainwindow, WM_SETICON, (WPARAM)TRUE, (LPARAM)hIcon);
1405 SendMessage (mainwindow, WM_SETICON, (WPARAM)FALSE, (LPARAM)hIcon);
1452 SendMessage (mainwindow, WM_SETICON, (WPARAM)1, (LPARAM)hIcon);
1453 SendMessage (mainwindow, WM_SETICON, (WPARAM)0, (LPARAM)hIcon);
1514 SetWindowLong(mainwindow, GWL_STYLE, WindowStyle | WS_VISIBLE);
1515 SetWindowLong(mainwindow, GWL_EXSTYLE, ExWindowStyle);
1517 if (!SetWindowPos (mainwindow,
1528 SetWindowPos (mainwindow, HWND_TOPMOST, 0, 0, 0, 0,
1530 ShowWindow (mainwindow, SW_SHOWDEFAULT);
1531 UpdateWindow (mainwindow);
1537 hdc = GetDC(mainwindow);
1539 ReleaseDC(mainwindow, hdc);
1542 if ((windc = MGL_createWindowedDC(mainwindow)) == NULL)
1702 SetForegroundWindow (mainwindow);
1737 SetWindowPos (mainwindow, HWND_TOP, 0, 0, 0, 0,
1741 SetForegroundWindow (mainwindow);
2071 ShowWindow (mainwindow, SW_MINIMIZE);
2230 PostMessage (HWND_BROADCAST, WM_PALETTECHANGED, (WPARAM)mainwindow, (LPARAM)0);
2241 if (mainwindow)
2242 DestroyWindow(mainwindow);
2310 hdcScreen = GetDC(mainwindow);
2339 ReleaseDC(mainwindow, hdcScreen);
2364 GetWindowRect (mainwindow, &trect);
2376 SetWindowPos (mainwindow, NULL, (int)vid_window_x.value,
3045 InvalidateRect (mainwindow, NULL, false);
3067 if (MessageBox (mainwindow, "Are you sure you want to quit?", "Confirm Exit",