Lines Matching refs:hwnd
197 ValidateSizing(HWND hwnd, WindowPtr pWin, WPARAM wParam, LPARAM lParam)
227 GetClientRect(hwnd, &rcClient);
228 GetWindowRect(hwnd, &rcWindow);
415 winTopLevelWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
434 winDebugWin32Message("winTopLevelWindowProc", hwnd, message, wParam,
443 SetProp(hwnd,
446 SetProp(hwnd,
453 if ((pWin = GetProp(hwnd, WIN_WINDOW_PROP)) != NULL) {
472 wmMsg.hwndWindow = hwnd;
473 wmMsg.iWindow = (Window) (INT_PTR) GetProp(hwnd, WIN_WID_PROP);
487 ErrorF("hWnd %08X\n", hwnd);
524 GetWindowRect(hwnd, &rWindow);
526 SetWindowRgn(hwnd, hRgnWindow, TRUE);
530 SetWindowLongPtr(hwnd, GWLP_USERDATA, (LONG_PTR) XMING_SIGNATURE);
532 CheckForAlpha(hwnd, pWin, s_pScreenInfo);
540 SetupSysMenu(hwnd);
547 if (HandleCustomWM_COMMAND(hwnd, LOWORD(wParam), s_pScreenPriv)) {
555 if (GetWindowPlacement(hwnd, &wndpl) &&
563 HandleCustomWM_INITMENU(hwnd, (HMENU)wParam);
576 if (hwnd == NULL)
588 BeginPaint(hwnd, &ps);
589 ValidateRect(hwnd, &(ps.rcPaint));
590 EndPaint(hwnd, &ps);
606 ClientToScreen(hwnd, &ptMouse);
630 tme.hwndTrack = hwnd;
704 SetCapture(hwnd);
720 SetCapture(hwnd);
736 SetCapture(hwnd);
751 SetCapture(hwnd);
765 (hwnd, WM_NCHITTEST, 0,
777 (hwnd, WM_NCHITTEST, 0,
793 HWND hParent = GetParent(hwnd);
855 GetWindowPlacement(hwnd, &windPlace);
863 if (GetClientRect(hwnd, &rc)) {
869 if (GetWindowRect(hwnd, &rc)) {
916 (HWND) lParam != NULL && (HWND) lParam != GetParent(hwnd))
917 SetFocus(hwnd);
929 winSetAppUserModelID(hwnd, NULL);
933 DestroyWindow(hwnd);
955 RemoveProp(hwnd, WIN_WINDOW_PROP);
956 RemoveProp(hwnd, WIN_WID_PROP);
957 RemoveProp(hwnd, WIN_NEEDMANAGE_PROP);
964 winAdjustXWindow(pWin, hwnd);
978 SetProp(hwnd, WIN_NEEDMANAGE_PROP, (HANDLE) 1);
981 if (GetParent(hwnd))
982 SetWindowLongPtr(hwnd, GWL_STYLE,
987 SetWindowLongPtr(hwnd, GWL_STYLE,
992 winUpdateWindowPosition(hwnd, &zstyle);
1004 SetForegroundWindow(hwnd);
1021 SetWindowPos(hwnd, HWND_TOPMOST, 0, 0, 0, 0,
1024 SetWindowPos(hwnd, HWND_NOTOPMOST, 0, 0, 0, 0,
1042 return ValidateSizing(hwnd, pWin, wParam, lParam);
1105 winAdjustXWindow(pWin, hwnd);
1133 winAdjustXWindow(pWin, hwnd);
1150 dwExStyle = GetWindowLongPtr(hwnd, GWL_EXSTYLE);
1151 dwStyle = GetWindowLongPtr(hwnd, GWL_STYLE);
1167 GetWindowInfo(hwnd, &wi);
1193 DeferWindowPos(pWinPriv->hDwp, hwnd, NULL, newWinRect.left,
1235 CheckForAlpha(hwnd, pWin, s_pScreenInfo);
1242 ret = DefWindowProc(hwnd, message, wParam, lParam);