Lines Matching refs:s_hwnd
324 HWND s_hwnd = NULL; variable
620 while (pPeekMessage(&msg, s_hwnd, WM_TIMER, WM_TIMER, PM_REMOVE)) in gui_mswin_rm_blink_timer()
913 (void)SetFocus(s_hwnd); in _OnMouseButtonDown()
1113 (void)SetFocus(s_hwnd); in _OnFindRepl()
1121 (void)SetFocus(s_hwnd); in _OnFindRepl()
1129 (void)SetFocus(s_hwnd); in _OnFindRepl()
1279 s_hwnd, GCLP_HBRBACKGROUND, (LONG_PTR)s_brush); in gui_mch_new_colors()
1280 InvalidateRect(s_hwnd, NULL, TRUE); in gui_mch_new_colors()
1304 if (!IsWindowVisible(s_hwnd)) in gui_mch_open()
1305 ShowWindow(s_hwnd, SW_SHOWDEFAULT); in gui_mch_open()
1324 GetWindowRect(s_hwnd, &rect); in gui_mch_get_winpos()
1337 SetWindowPos(s_hwnd, NULL, x, y, 0, 0, in gui_mch_set_winpos()
1363 GetClientRect(s_hwnd, &rect); in gui_mch_set_text_area_pos()
1373 InvalidateRect(s_hwnd, NULL, FALSE); in gui_mch_set_text_area_pos()
1415 GetWindowRect(s_hwnd, &rcWnd); in gui_mch_get_scrollbar_xpadding()
1429 GetWindowRect(s_hwnd, &rcWnd); in gui_mch_get_scrollbar_ypadding()
1446 s_hwnd, NULL, in gui_mch_create_scrollbar()
1696 ShowWindow(s_hwnd, SW_MINIMIZE); in gui_mch_iconify()
2021 MapWindowPoints(s_textArea, s_hwnd, &point, 1); in process_message()
2063 while (pPeekMessage(&msg, s_hwnd, WM_TIMER, WM_TIMER, PM_REMOVE)) in remove_any_timer()
2113 (void)SetForegroundWindow(s_hwnd); in gui_mch_wait_for_chars()
2226 SetMenu(s_hwnd, flag ? s_menuBar : NULL); in gui_mch_enable_menu()
2267 DrawMenuBar(s_hwnd); in gui_mch_draw_menubar()
2629 PostMessage(s_hwnd, WM_SYSCOMMAND, (WPARAM)SC_KEYMENU, (LPARAM)0); in ex_simalt()
2634 PostMessage(s_hwnd, WM_CHAR, (WPARAM)*keys, (LPARAM)0); in ex_simalt()
2669 s_findrep_struct.hwndOwner = s_hwnd; in initialise_findrep()
2783 s_hwnd, in gui_mch_show_popupmenu_at()
3041 if (!is_window_onscreen(s_hwnd)) in get_scroll_flags()
3045 GetWindowRect(s_hwnd, &rcVim); in get_scroll_flags()
3046 for (hwnd = s_hwnd; (hwnd = GetWindow(hwnd, GW_HWNDPREV)) != (HWND)0; ) in get_scroll_flags()
3087 if (IS_ENABLE_DIRECTX() && is_window_onscreen(s_hwnd)) in gui_mch_delete_lines()
3132 if (IS_ENABLE_DIRECTX() && is_window_onscreen(s_hwnd)) in gui_mch_insert_lines()
3174 if (s_hwnd != NULL) in gui_mch_exit()
3177 DestroyWindow(s_hwnd); in gui_mch_exit()
3397 if (GetWindowPlacement(s_hwnd, &wp)) in gui_mch_maximized()
3407 GetWindowRect(s_hwnd, &rc); in gui_mch_maximized()
3427 GetWindowRect(s_hwnd, &rect); in gui_mch_newfont()
3462 set_window_title(s_hwnd, (title == NULL ? "VIM" : (char *)title)); in gui_mch_settitle()
3605 fileStruct.hwndOwner = s_hwnd; // main Vim window is owner in gui_mch_browse()
3655 SetFocus(s_hwnd); in gui_mch_browse()
3726 MapWindowPoints(s_hwnd, s_textArea, &pt, 1); in _OnDropFiles()
4254 else if (IsMinimized(s_hwnd)) in gui_mswin_get_menu_height()
4271 GetMenuItemRect(s_hwnd, s_menuBar, 0, &rc1); in gui_mswin_get_menu_height()
4276 GetMenuItemRect(s_hwnd, s_menuBar, num - 1, &rc2); in gui_mswin_get_menu_height()
4494 ti.hwnd = s_hwnd; in show_sizing_tip()
4495 ti.uId = (UINT_PTR)s_hwnd; in show_sizing_tip()
4504 s_hwnd, NULL, GetModuleHandle(NULL), NULL); in show_sizing_tip()
5236 if (s_hwnd != NULL) in gui_mch_init()
5287 s_hwnd = CreateWindowExW( in gui_mch_init()
5305 if (s_hwnd == NULL) in gui_mch_init()
5320 s_hwnd = CreateWindowW( in gui_mch_init()
5330 if (s_hwnd != NULL && win_socket_id != 0) in gui_mch_init()
5332 SetParent(s_hwnd, (HWND)win_socket_id); in gui_mch_init()
5333 ShowWindow(s_hwnd, SW_SHOWMAXIMIZED); in gui_mch_init()
5337 if (s_hwnd == NULL) in gui_mch_init()
5341 global_ime_init(atom, s_hwnd); in gui_mch_init()
5371 s_hwnd, NULL, in gui_mch_init()
5383 SendMessage(s_hwnd, WM_SETICON, ICON_SMALL, (LPARAM)hIcon); in gui_mch_init()
5392 DragAcceptFiles(s_hwnd, TRUE); in gui_mch_init()
5466 set_vim_var_nr(VV_WINDOWID, HandleToLong(s_hwnd)); in gui_mch_init()
5492 mon = MonitorFromWindow(s_hwnd, MONITOR_DEFAULTTOPRIMARY); in get_work_area()
5531 if (IsZoomed(s_hwnd) && starting == 0) in gui_mch_set_shellsize()
5532 ShowWindow(s_hwnd, SW_SHOWNORMAL); in gui_mch_set_shellsize()
5534 GetWindowRect(s_hwnd, &window_rect); in gui_mch_set_shellsize()
5566 MoveWindow(s_hwnd, window_rect.left, window_rect.top, in gui_mch_set_shellsize()
5569 SetActiveWindow(s_hwnd); in gui_mch_set_shellsize()
5570 SetFocus(s_hwnd); in gui_mch_set_shellsize()
5818 if (pImmGetContext && (hImc = pImmGetContext(s_hwnd)) != (HIMC)0) in im_set_font()
5821 pImmReleaseContext(s_hwnd, hImc); in im_set_font()
5833 if (pImmGetContext && (hImc = pImmGetContext(s_hwnd)) != (HIMC)0) in im_set_position()
5840 MapWindowPoints(s_textArea, s_hwnd, &cfs.ptCurrentPos, 1); in im_set_position()
5843 pImmReleaseContext(s_hwnd, hImc); in im_set_position()
5870 hImcOld = pImmGetContext(s_hwnd); in im_set_active()
5872 pImmAssociateContext(s_hwnd, (HIMC)0); in im_set_active()
5878 pImmAssociateContext(s_hwnd, hImcOld); in im_set_active()
5882 hImc = pImmGetContext(s_hwnd); in im_set_active()
5919 pImmReleaseContext(s_hwnd, hImc); in im_set_active()
5938 if (pImmGetContext && (hImc = pImmGetContext(s_hwnd)) != (HIMC)0) in im_get_status()
5941 pImmReleaseContext(s_hwnd, hImc); in im_get_status()
5962 MapWindowPoints(s_textArea, s_hwnd, &p, 1); in im_set_position()
6684 && GetWindowRect(s_hwnd, &rct) in rebuild_tearoff()
6685 && GetClientRect(s_hwnd, &roct)) in rebuild_tearoff()
6919 if (s_hwnd == NULL) in gui_mch_dialog()
6998 if (s_hwnd == NULL) in gui_mch_dialog()
7013 GetWindowRect(s_hwnd, &rect); in gui_mch_dialog()
7326 s_hwnd, in gui_mch_dialog()
7336 (void)SetFocus(s_hwnd); in gui_mch_dialog()
7519 s_hwnd, in tearoff_callback()
7529 PostMessage(s_hwnd, WM_COMMAND, LOWORD(wParam), 0); in tearoff_callback()
7535 (void)SetFocus(s_hwnd); in tearoff_callback()
7546 (void)SetActiveWindow(s_hwnd); in tearoff_callback()
7581 hdc = GetDC(s_hwnd); in get_dialog_font_metrics()
7591 ReleaseDC(s_hwnd, hdc); in get_dialog_font_metrics()
7920 s_hwnd, in gui_mch_tearoff()
7934 (void)SetActiveWindow(s_hwnd); in gui_mch_tearoff()
7959 s_hwnd, in initialise_toolbar()
8070 CW_USEDEFAULT, s_hwnd, NULL, g_hinst, NULL); in initialise_tabline()
8193 if (IsIconic(s_hwnd)) in gui_mch_set_foreground()
8194 SendMessage(s_hwnd, WM_SYSCOMMAND, SC_RESTORE, 0); in gui_mch_set_foreground()
8195 SetForegroundWindow(s_hwnd); in gui_mch_set_foreground()