kettch

I have several textbox fields on a form that all suddenly no longer repond to Ctrl + <key> events. This includes Ctrl + C, Ctrl + V, etc... However they now responde to Ctrl + Shift + <key>. I've been all over the properties and the code, and I don't see anything that seems to indicate the behavior. Can anybody point me in a likely direction

Thanks



Re: Windows Forms General Textbox shortcut keys

Deepraj_Majumdar_35eaf1

It may happen for a macro.If u set a Ctrl+C macrofor other process then it may happen




Re: Windows Forms General Textbox shortcut keys

kettch

Well, it only happens on the main form of the application. All sub forms and dialog boxes behave normally.



Re: Windows Forms General Textbox shortcut keys

Gavin Jin - MSFT

Several possibilities:
- Check if you have assigned the Ctrl+C shortcut key to any of your menu items.
- Ensure that the textboxes' ShortcutsEnabled property is set to True
- If you use your own message loop or MFC, you must display your form with ShowDialog().