How to capture Ctrl + Tab and Ctrl + Shift + Tab in WPF?

What KeyDown handler did you have? The code below works for me. The one that gives me trouble is: Alt + Tab, but you didn’t ask for that ๐Ÿ˜€ public Window1() { InitializeComponent(); AddHandler(Keyboard.KeyDownEvent, (KeyEventHandler)HandleKeyDownEvent); } private void HandleKeyDownEvent(object sender, KeyEventArgs e) { if (e.Key == Key.Tab && (Keyboard.Modifiers & (ModifierKeys.Control | ModifierKeys.Shift)) == (ModifierKeys.Control … Read more

How to map Ctrl+A and Ctrl+Shift+A differently?

Gvim doesn’t do it because vim cannot do it (under normal circumstances). Sorry, but that’s just how it is. However… Some terminals (e.g., xterm and iterm2) can be configured to send an arbitrary escape sequence for any combination of keys. For example, add the following to .Xresources for xterm to send <Esc>[65;5u for CtrlShiftA. You … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)