Lines Matching refs:hwnd

197 ValidateSizing (HWND hwnd, WindowPtr pWin,
227 GetClientRect(hwnd, &rcClient);
228 GetWindowRect(hwnd, &rcWindow);
306 winTopLevelWindowProc (HWND hwnd, UINT message,
326 winDebugWin32Message("winTopLevelWindowProc", hwnd, message, wParam, lParam);
330 if ((pWin = GetProp (hwnd, WIN_WINDOW_PROP)) != NULL)
350 wmMsg.hwndWindow = hwnd;
351 wmMsg.iWindow = (Window)GetProp (hwnd, WIN_WID_PROP);
365 ErrorF ("hWnd %08X\n", hwnd);
393 SetProp (hwnd,
398 SetProp (hwnd,
413 GetWindowRect(hwnd, &rWindow);
415 SetWindowRgn (hwnd, hRgnWindow, TRUE);
419 SetWindowLongPtr(hwnd, GWLP_USERDATA, (LONG_PTR)XMING_SIGNATURE);
427 SetupSysMenu ((unsigned long)hwnd);
434 if (HandleCustomWM_COMMAND ((unsigned long)hwnd, LOWORD(wParam)))
443 if (GetWindowPlacement(hwnd, &wndpl) && wndpl.showCmd == SW_SHOWMINIMIZED)
450 HandleCustomWM_INITMENU ((unsigned long)hwnd, wParam);
467 hdcUpdate = BeginPaint (hwnd, &ps);
471 EndPaint (hwnd, &ps);
501 EndPaint (hwnd, &ps);
510 ClientToScreen (hwnd, &ptMouse);
535 tme.hwndTrack = hwnd;
613 SetCapture(hwnd);
629 SetCapture(hwnd);
645 SetCapture(hwnd);
660 SetCapture(hwnd);
671 if (SendMessage(hwnd, WM_NCHITTEST, 0, MAKELONG(GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam))) == HTCLIENT)
685 HWND hParent = GetParent(hwnd);
744 GetWindowPlacement (hwnd, &windPlace);
752 if (GetClientRect (hwnd, &rc))
759 if (GetWindowRect (hwnd, &rc))
809 (HWND)lParam != NULL && (HWND)lParam != (HWND)GetParent(hwnd))
810 SetFocus(hwnd);
825 DestroyWindow (hwnd);
849 RemoveProp (hwnd, WIN_WINDOW_PROP);
850 RemoveProp (hwnd, WIN_WID_PROP);
851 RemoveProp (hwnd, WIN_NEEDMANAGE_PROP);
857 winAdjustXWindow (pWin, hwnd);
869 SetProp (hwnd, WIN_NEEDMANAGE_PROP, (HANDLE) 1);
871 if (!(GetWindowLongPtr (hwnd, GWL_EXSTYLE) & WS_EX_APPWINDOW))
876 SetWindowLongPtr (hwnd, GWL_EXSTYLE, WS_EX_APPWINDOW);
879 if (GetParent(hwnd)) SetWindowLongPtr (hwnd, GWL_STYLE,
882 else SetWindowLongPtr (hwnd, GWL_STYLE,
886 winUpdateWindowPosition (hwnd, FALSE, &zstyle);
887 SetForegroundWindow (hwnd);
902 SetWindowPos (hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);
904 SetWindowPos (hwnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);
921 return ValidateSizing (hwnd, pWin, wParam, lParam);
1008 winAdjustXWindow (pWin, hwnd);
1038 ret = DefWindowProc (hwnd, message, wParam, lParam);