Lines Matching refs:win32
240 if (WindowFromPoint(pos) != window->win32.handle) in cursorInClientArea()
243 GetClientRect(window->win32.handle, &area); in cursorInClientArea()
244 ClientToScreen(window->win32.handle, (POINT*) &area.left); in cursorInClientArea()
245 ClientToScreen(window->win32.handle, (POINT*) &area.right); in cursorInClientArea()
257 SetCursor(window->cursor->win32.handle); in updateCursorImage()
272 GetClientRect(window->win32.handle, &clipRect); in updateClipRect()
273 ClientToScreen(window->win32.handle, (POINT*) &clipRect.left); in updateClipRect()
274 ClientToScreen(window->win32.handle, (POINT*) &clipRect.right); in updateClipRect()
388 return _glfw.win32.publicKeys[HIWORD(lParam) & 0x1FF]; in translateKey()
404 SetWindowPos(window->win32.handle, HWND_TOPMOST, in acquireMonitor()
621 const int dx = x - window->win32.lastCursorPosX; in windowProc()
622 const int dy = y - window->win32.lastCursorPosY; in windowProc()
624 if (_glfw.win32.disabledCursorWindow != window) in windowProc()
634 window->win32.lastCursorPosX = x; in windowProc()
635 window->win32.lastCursorPosY = y; in windowProc()
637 if (!window->win32.cursorTracked) in windowProc()
643 tme.hwndTrack = window->win32.handle; in windowProc()
646 window->win32.cursorTracked = GLFW_TRUE; in windowProc()
655 window->win32.cursorTracked = GLFW_FALSE; in windowProc()
695 !window->win32.iconified && wParam == SIZE_MINIMIZED; in windowProc()
697 window->win32.iconified && in windowProc()
700 if (_glfw.win32.disabledCursorWindow == window) in windowProc()
713 window->win32.iconified = GLFW_TRUE; in windowProc()
719 window->win32.iconified = GLFW_FALSE; in windowProc()
729 if (_glfw.win32.disabledCursorWindow == window) in windowProc()
805 SetWindowPos(window->win32.handle, in windowProc()
896 window->win32.handle = CreateWindowExW(exStyle, in createNativeWindow()
909 if (!window->win32.handle) in createNativeWindow()
915 SetPropW(window->win32.handle, L"GLFW", window); in createNativeWindow()
919 _glfw_ChangeWindowMessageFilterEx(window->win32.handle, in createNativeWindow()
921 _glfw_ChangeWindowMessageFilterEx(window->win32.handle, in createNativeWindow()
923 _glfw_ChangeWindowMessageFilterEx(window->win32.handle, in createNativeWindow()
927 DragAcceptFiles(window->win32.handle, TRUE); in createNativeWindow()
1032 if (_glfw.win32.disabledCursorWindow == window) in _glfwPlatformDestroyWindow()
1033 _glfw.win32.disabledCursorWindow = NULL; in _glfwPlatformDestroyWindow()
1035 if (window->win32.handle) in _glfwPlatformDestroyWindow()
1037 RemovePropW(window->win32.handle, L"GLFW"); in _glfwPlatformDestroyWindow()
1038 DestroyWindow(window->win32.handle); in _glfwPlatformDestroyWindow()
1039 window->win32.handle = NULL; in _glfwPlatformDestroyWindow()
1042 if (window->win32.bigIcon) in _glfwPlatformDestroyWindow()
1043 DestroyIcon(window->win32.bigIcon); in _glfwPlatformDestroyWindow()
1045 if (window->win32.smallIcon) in _glfwPlatformDestroyWindow()
1046 DestroyIcon(window->win32.smallIcon); in _glfwPlatformDestroyWindow()
1059 SetWindowTextW(window->win32.handle, wideTitle); in _glfwPlatformSetWindowTitle()
1082 bigIcon = (HICON) GetClassLongPtrW(window->win32.handle, GCLP_HICON); in _glfwPlatformSetWindowIcon()
1083 smallIcon = (HICON) GetClassLongPtrW(window->win32.handle, GCLP_HICONSM); in _glfwPlatformSetWindowIcon()
1086 SendMessage(window->win32.handle, WM_SETICON, ICON_BIG, (LPARAM) bigIcon); in _glfwPlatformSetWindowIcon()
1087 SendMessage(window->win32.handle, WM_SETICON, ICON_SMALL, (LPARAM) smallIcon); in _glfwPlatformSetWindowIcon()
1089 if (window->win32.bigIcon) in _glfwPlatformSetWindowIcon()
1090 DestroyIcon(window->win32.bigIcon); in _glfwPlatformSetWindowIcon()
1092 if (window->win32.smallIcon) in _glfwPlatformSetWindowIcon()
1093 DestroyIcon(window->win32.smallIcon); in _glfwPlatformSetWindowIcon()
1097 window->win32.bigIcon = bigIcon; in _glfwPlatformSetWindowIcon()
1098 window->win32.smallIcon = smallIcon; in _glfwPlatformSetWindowIcon()
1105 ClientToScreen(window->win32.handle, &pos); in _glfwPlatformGetWindowPos()
1118 SetWindowPos(window->win32.handle, NULL, rect.left, rect.top, 0, 0, in _glfwPlatformSetWindowPos()
1125 GetClientRect(window->win32.handle, &area); in _glfwPlatformGetWindowSize()
1145 SetWindowPos(window->win32.handle, HWND_TOP, in _glfwPlatformSetWindowSize()
1163 GetWindowRect(window->win32.handle, &area); in _glfwPlatformSetWindowSizeLimits()
1164 MoveWindow(window->win32.handle, in _glfwPlatformSetWindowSizeLimits()
1177 GetWindowRect(window->win32.handle, &area); in _glfwPlatformSetWindowAspectRatio()
1179 MoveWindow(window->win32.handle, in _glfwPlatformSetWindowAspectRatio()
1214 ShowWindow(window->win32.handle, SW_MINIMIZE); in _glfwPlatformIconifyWindow()
1219 ShowWindow(window->win32.handle, SW_RESTORE); in _glfwPlatformRestoreWindow()
1224 ShowWindow(window->win32.handle, SW_MAXIMIZE); in _glfwPlatformMaximizeWindow()
1229 ShowWindow(window->win32.handle, SW_SHOW); in _glfwPlatformShowWindow()
1234 ShowWindow(window->win32.handle, SW_HIDE); in _glfwPlatformHideWindow()
1239 BringWindowToTop(window->win32.handle); in _glfwPlatformFocusWindow()
1240 SetForegroundWindow(window->win32.handle); in _glfwPlatformFocusWindow()
1241 SetFocus(window->win32.handle); in _glfwPlatformFocusWindow()
1262 SetWindowPos(window->win32.handle, HWND_TOP, in _glfwPlatformSetWindowMonitor()
1279 DWORD style = GetWindowLongW(window->win32.handle, GWL_STYLE); in _glfwPlatformSetWindowMonitor()
1286 SetWindowLongW(window->win32.handle, GWL_STYLE, style); in _glfwPlatformSetWindowMonitor()
1294 SetWindowPos(window->win32.handle, HWND_TOPMOST, in _glfwPlatformSetWindowMonitor()
1304 DWORD style = GetWindowLongW(window->win32.handle, GWL_STYLE); in _glfwPlatformSetWindowMonitor()
1311 SetWindowLongW(window->win32.handle, GWL_STYLE, style); in _glfwPlatformSetWindowMonitor()
1323 SetWindowPos(window->win32.handle, after, in _glfwPlatformSetWindowMonitor()
1332 return window->win32.handle == GetActiveWindow(); in _glfwPlatformWindowFocused()
1337 return IsIconic(window->win32.handle); in _glfwPlatformWindowIconified()
1342 return IsWindowVisible(window->win32.handle); in _glfwPlatformWindowVisible()
1347 return IsZoomed(window->win32.handle); in _glfwPlatformWindowMaximized()
1403 window = _glfw.win32.disabledCursorWindow; in _glfwPlatformPollEvents()
1411 if (window->win32.lastCursorPosX != width / 2 || in _glfwPlatformPollEvents()
1412 window->win32.lastCursorPosY != height / 2) in _glfwPlatformPollEvents()
1436 PostMessage(window->win32.handle, WM_NULL, 0, 0); in _glfwPlatformPostEmptyEvent()
1445 ScreenToClient(window->win32.handle, &pos); in _glfwPlatformGetCursorPos()
1459 window->win32.lastCursorPosX = pos.x; in _glfwPlatformSetCursorPos()
1460 window->win32.lastCursorPosY = pos.y; in _glfwPlatformSetCursorPos()
1462 ClientToScreen(window->win32.handle, &pos); in _glfwPlatformSetCursorPos()
1470 _glfw.win32.disabledCursorWindow = window; in _glfwPlatformSetCursorMode()
1472 &_glfw.win32.restoreCursorPosX, in _glfwPlatformSetCursorMode()
1473 &_glfw.win32.restoreCursorPosY); in _glfwPlatformSetCursorMode()
1477 else if (_glfw.win32.disabledCursorWindow == window) in _glfwPlatformSetCursorMode()
1479 _glfw.win32.disabledCursorWindow = NULL; in _glfwPlatformSetCursorMode()
1482 _glfw.win32.restoreCursorPosX, in _glfwPlatformSetCursorMode()
1483 _glfw.win32.restoreCursorPosY); in _glfwPlatformSetCursorMode()
1495 scancode = _glfw.win32.nativeKeys[key]; in _glfwPlatformGetKeyName()
1497 if (!_glfwIsPrintable(_glfw.win32.publicKeys[scancode])) in _glfwPlatformGetKeyName()
1504 _glfw.win32.keyName, in _glfwPlatformGetKeyName()
1505 sizeof(_glfw.win32.keyName), in _glfwPlatformGetKeyName()
1511 return _glfw.win32.keyName; in _glfwPlatformGetKeyName()
1518 cursor->win32.handle = (HCURSOR) createIcon(image, xhot, yhot, GLFW_FALSE); in _glfwPlatformCreateCursor()
1519 if (!cursor->win32.handle) in _glfwPlatformCreateCursor()
1527 cursor->win32.handle = in _glfwPlatformCreateStandardCursor()
1529 if (!cursor->win32.handle) in _glfwPlatformCreateStandardCursor()
1541 if (cursor->win32.handle) in _glfwPlatformDestroyCursor()
1542 DestroyIcon((HICON) cursor->win32.handle); in _glfwPlatformDestroyCursor()
1585 if (!OpenClipboard(_glfw.win32.helperWindowHandle)) in _glfwPlatformSetClipboardString()
1603 if (!OpenClipboard(_glfw.win32.helperWindowHandle)) in _glfwPlatformGetClipboardString()
1628 free(_glfw.win32.clipboardString); in _glfwPlatformGetClipboardString()
1629 _glfw.win32.clipboardString = in _glfwPlatformGetClipboardString()
1635 if (!_glfw.win32.clipboardString) in _glfwPlatformGetClipboardString()
1642 return _glfw.win32.clipboardString; in _glfwPlatformGetClipboardString()
1700 sci.hwnd = window->win32.handle; in _glfwPlatformCreateWindowSurface()
1722 return window->win32.handle; in glfwGetWin32Window()