How to enable ctrl+c shortcut in ComboBox (WindowsForm)

user198530

I am developing an app in C# with Visual Studio using Windows Forms

I have a ComboxBox and I would like to enable the Ctrl+C shortcut. Right now it does not work (the selected text is simply not copied to the clipboard)
With a TextBox I simply need to set ShortcutEnabled to true, but this property does not seem to exist for ComboBox
Appearently it is what the guy in there tries to do but I don't undersand what he means.
MSDN does not elaborate much on how to do..

Shall I try to manually catch the shortcut in the private void mycomboboxname_KeyDown(object sender, KeyEventArgs e) method ?
That seems to me like an overkill... I looked here but did not understood it well (I can't find the IsEditable property when designing the form)
Any ideas welcome...

user198530

Hans Passant answer is right. The key presses were simply intercepted (and prevented somewhere else in my code).

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to show find replace dialog in SourceViewer(On Shortcut Ctrl+F)

From Dev

Sublimelinter (PC): How to trigger this shortcut ("Lint This View"): Ctrl K, l?

From Dev

How to enable Excel vba combobox to update automatically

From Dev

Shortcut for copying Ctrl-C not working in Android Studio

From Dev

How to execute keybord shortcut CTRL + P by clicking a link using jquery

From Dev

How to fix ctrl space shortcut for my IDE using Linux Mint?

From Dev

How do I enable ctrl-c escaping in RStudio's vim editing mode?

From Dev

tinyMCE: how to add shortcut Ctrl+Enter

From Dev

How to disable Ctrl + Shift + C shortcut in Firefox?

From Dev

How to disable the shortcut Ctrl-Alt-Arrow in GNOME 3.8

From Dev

How to disable the shortcut Ctrl-Alt-Arrow in GNOME 3.8

From Dev

change bash shortcut keys such as Ctrl-C?

From Dev

c# - How to arrange elements in WindowsForm like Windows Explorer

From Dev

C# Windowsform updating dynamic generated combobox

From Dev

How do I create a keyboard shortcut (like Ctrl+C) in a Windows Store app

From Dev

How to configure Emmet in Sublime to enable comment shortcut?

From Dev

How to get Ctrl+Shift combination for Excel macro shortcut?

From Dev

How to remap tab shortcut from ctrl to alt for Chrome in Windows?

From Dev

How to change ctrl-shift-j shortcut on Google Chrome?

From Dev

How to re-enable the Ctrl+Shift+U shortcut in Cinnamon Mint 17.3?

From Dev

Enable Ctrl+C for copy and Ctrl+Shift+C for interrupt

From Dev

How to disable Ctrl+Q shortcut in Firefox on Linux

From Dev

How to define pressing Ctrl twice as a keyboard shortcut in Linux (to launch a command)

From Dev

How do I enable ctrl-c escaping in RStudio's vim editing mode?

From Dev

How to execute a Ctrl+,,f keyboard shortcut in Sublime Text?

From Dev

How to change keyboard layout shortcut to ctrl+shift on Debian 9?

From Dev

how validate empty controls in windowsform

From Dev

How to enable underscore (shortcut mnemonics) for menu items?

From Dev

How to restore a Paste Shortcut CTRL+V

Related Related

  1. 1

    How to show find replace dialog in SourceViewer(On Shortcut Ctrl+F)

  2. 2

    Sublimelinter (PC): How to trigger this shortcut ("Lint This View"): Ctrl K, l?

  3. 3

    How to enable Excel vba combobox to update automatically

  4. 4

    Shortcut for copying Ctrl-C not working in Android Studio

  5. 5

    How to execute keybord shortcut CTRL + P by clicking a link using jquery

  6. 6

    How to fix ctrl space shortcut for my IDE using Linux Mint?

  7. 7

    How do I enable ctrl-c escaping in RStudio's vim editing mode?

  8. 8

    tinyMCE: how to add shortcut Ctrl+Enter

  9. 9

    How to disable Ctrl + Shift + C shortcut in Firefox?

  10. 10

    How to disable the shortcut Ctrl-Alt-Arrow in GNOME 3.8

  11. 11

    How to disable the shortcut Ctrl-Alt-Arrow in GNOME 3.8

  12. 12

    change bash shortcut keys such as Ctrl-C?

  13. 13

    c# - How to arrange elements in WindowsForm like Windows Explorer

  14. 14

    C# Windowsform updating dynamic generated combobox

  15. 15

    How do I create a keyboard shortcut (like Ctrl+C) in a Windows Store app

  16. 16

    How to configure Emmet in Sublime to enable comment shortcut?

  17. 17

    How to get Ctrl+Shift combination for Excel macro shortcut?

  18. 18

    How to remap tab shortcut from ctrl to alt for Chrome in Windows?

  19. 19

    How to change ctrl-shift-j shortcut on Google Chrome?

  20. 20

    How to re-enable the Ctrl+Shift+U shortcut in Cinnamon Mint 17.3?

  21. 21

    Enable Ctrl+C for copy and Ctrl+Shift+C for interrupt

  22. 22

    How to disable Ctrl+Q shortcut in Firefox on Linux

  23. 23

    How to define pressing Ctrl twice as a keyboard shortcut in Linux (to launch a command)

  24. 24

    How do I enable ctrl-c escaping in RStudio's vim editing mode?

  25. 25

    How to execute a Ctrl+,,f keyboard shortcut in Sublime Text?

  26. 26

    How to change keyboard layout shortcut to ctrl+shift on Debian 9?

  27. 27

    how validate empty controls in windowsform

  28. 28

    How to enable underscore (shortcut mnemonics) for menu items?

  29. 29

    How to restore a Paste Shortcut CTRL+V

HotTag

Archive