Lines Matching +defs:message +defs:key +defs:id

147 /* Flag that is set while processing a message that must not be interrupted by
148 * processing another message. */
306 static int dead_key = 0; /* 0 - no dead key, 1 - dead key pressed */
333 * Print out the last Windows error message
387 TRACE2("Got timer event, id %d, blink_timer %d\n", idEvent, blink_timer);
473 TRACE2("Got timer event, id %d, s_wait_timer %d\n", idEvent, s_wait_timer);
497 * When "had_alt" is TRUE the ALT key was included in "ch".
537 /* If we had included the ALT key into the character but now the
626 /* OK, we have a character key (given by ch) which was entered with the
627 * ALT key pressed. Eg, if the user presses Alt-A, then ch == 'A'. Note
643 /* Interpret the ALT key as making the key META, include SHIFT, etc. */
846 * Find the vimmenu_T with the given id
851 int id)
857 if (pMenu->id == (UINT)id)
861 pChildMenu = gui_mswin_find_menu(pMenu->children, id);
877 int id,
883 pMenu = gui_mswin_find_menu(root_menu, id);
930 * Handle a Find/Replace window message.
1015 case WM_SYSKEYUP: /* show the pointer when a system-key is pressed */
1100 vim_WindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
1103 return global_ime_DefWindowProc(hwnd, message, wParam, lParam);
1106 return DefWindowProcW(hwnd, message, wParam, lParam);
1107 return DefWindowProc(hwnd, message, wParam, lParam);
1229 ShowScrollBar(sb->id, SB_CTL, flag);
1244 SetWindowPos(sb->id, NULL, x, y, w, h,
1253 sb->id = CreateWindow(
1270 if (gui.bottom_sbar.id == hwnd)
1274 if (wp->w_scrollbars[SBAR_LEFT].id == hwnd)
1276 if (wp->w_scrollbars[SBAR_RIGHT].id == hwnd)
1589 * Return OK if the key with the termcap name "name" is supported.
1694 * Process a single Windows message.
1701 UINT vk = 0; /* Virtual key */
1705 int key;
1714 if (msg.message == WM_OLE)
1733 if (msg.message == WM_NETBEANS)
1749 if (msg.message == WM_USER)
1761 HandleMouseHide(msg.message, msg.lParam);
1767 * Check if it's a special key that we recognise. If not, call
1770 if (msg.message == WM_KEYDOWN || msg.message == WM_SYSKEYDOWN)
1773 /* handle key after dead key, but ignore shift, alt and control */
1783 dm.message = msg.message;
1788 PostMessage(msg.hwnd, msg.message, msg.wParam, msg.lParam);
1804 /* ignore VK_SPACE when ALT key pressed: system menu */
1833 key = special_keys[i].vim_code0;
1835 key = TO_SPECIAL(special_keys[i].vim_code0,
1837 key = simplify_key(key, &modifiers);
1838 if (key == CSI)
1839 key = K_CSI;
1849 if (IS_SPECIAL(key))
1852 string[1] = K_SECOND(key);
1853 string[2] = K_THIRD(key);
1860 /* Handle "key" as a Unicode character. */
1861 len = char_to_string(key, string, 40, FALSE);
1903 else if (msg.message == WM_IME_NOTIFY)
1905 else if (msg.message == WM_KEYUP && im_get_status())
1911 else if (msg.message == WM_IME_STARTCOMPOSITION)
1926 * key-up event) */
1968 /* Don't do anything while processing a (scroll) message. */
2115 EnableMenuItem(s_menuBar, menu->id, MF_BYCOMMAND | MF_DISABLED);
2117 EnableMenuItem(s_menuBar, menu->id, MF_BYCOMMAND | MF_ENABLED);
2712 * Got a message when the system will go down.
2721 * Get this message when the user clicks on the cross in the top right corner
2733 * Get a message when the window is being destroyed.
2818 * Get a message when the user switches back to vim
2844 DestroyWindow(sb->id);
3023 destroying = TRUE; /* ignore WM_DESTROY message now */
3470 * title - Title message for the file browser dialog.
3735 HWND id = sba[ (sb == sba + SBAR_LEFT) ? SBAR_RIGHT : SBAR_LEFT].id;
3738 SetScrollInfo(id, SB_CTL, &si, TRUE);
3740 SetScrollPos(id, SB_CTL, nPos, TRUE);
3744 /* Don't let us be interrupted here by another message. */