Lines Matching refs:s_hwnd

466 		/* get window rect of s_hwnd
467 * get client rect of s_hwnd
472 GetWindowRect(s_hwnd, &r1);
473 GetClientRect(s_hwnd, &r2);
475 + 2 * frameht * (!IsZoomed(s_hwnd)) + capht);
487 GetMenuItemRect(s_hwnd, s_menuBar, 0, &rc1);
492 GetMenuItemRect(s_hwnd, s_menuBar, num - 1, &rc2);
1296 if (s_hwnd != NULL)
1379 s_hwnd = CreateWindowEx(
1396 if (s_hwnd == NULL)
1411 s_hwnd = CreateWindow(
1420 if (s_hwnd != NULL && win_socket_id != 0)
1422 SetParent(s_hwnd, (HWND)win_socket_id);
1423 ShowWindow(s_hwnd, SW_SHOWMAXIMIZED);
1427 if (s_hwnd == NULL)
1431 global_ime_init(atom, s_hwnd);
1482 s_hwnd, NULL,
1498 DragAcceptFiles(s_hwnd, TRUE);
1597 mon = pMonitorFromWindow(s_hwnd, 1 /*MONITOR_DEFAULTTOPRIMARY*/);
1635 GetWindowPlacement(s_hwnd, &wndpl);
1642 ShowWindow(s_hwnd, SW_SHOWNORMAL);
1644 GetWindowPlacement(s_hwnd, &wndpl);
1693 SetWindowPlacement(s_hwnd, &wndpl);
1695 SetActiveWindow(s_hwnd);
1696 SetFocus(s_hwnd);
1945 if (pImmGetContext && (hImc = pImmGetContext(s_hwnd)) != (HIMC)0)
1948 pImmReleaseContext(s_hwnd, hImc);
1960 if (pImmGetContext && (hImc = pImmGetContext(s_hwnd)) != (HIMC)0)
1967 MapWindowPoints(s_textArea, s_hwnd, &cfs.ptCurrentPos, 1);
1970 pImmReleaseContext(s_hwnd, hImc);
1989 hImcOld = pImmGetContext(s_hwnd);
1991 pImmAssociateContext(s_hwnd, (HIMC)0);
1997 pImmAssociateContext(s_hwnd, hImcOld);
2001 hImc = pImmGetContext(s_hwnd);
2038 pImmReleaseContext(s_hwnd, hImc);
2052 if (pImmGetContext && (hImc = pImmGetContext(s_hwnd)) != (HIMC)0)
2055 pImmReleaseContext(s_hwnd, hImc);
2076 MapWindowPoints(s_textArea, s_hwnd, &p, 1);
2801 && GetWindowRect(s_hwnd, &rct)
2802 && GetClientRect(s_hwnd, &roct))
3047 if (s_hwnd == NULL)
3126 if (s_hwnd == NULL)
3140 GetWindowRect(s_hwnd, &rect);
3452 s_hwnd,
3462 (void)SetFocus(s_hwnd);
3628 s_hwnd,
3638 PostMessage(s_hwnd, WM_COMMAND, LOWORD(wParam), 0);
3644 (void)SetFocus(s_hwnd);
3655 (void)SetActiveWindow(s_hwnd);
3696 hdc = GetDC(s_hwnd);
3706 ReleaseDC(s_hwnd, hdc);
4037 s_hwnd,
4050 (void)SetActiveWindow(s_hwnd);
4075 s_hwnd,
4164 CW_USEDEFAULT, s_hwnd, NULL, s_hinst, NULL);
4181 if (IsIconic(s_hwnd))
4182 SendMessage(s_hwnd, WM_SYSCOMMAND, SC_RESTORE, 0);
4183 SetForegroundWindow(s_hwnd);