General information
Title:
Intercept Ctrl-A, Ctrl-C etc in ListBox control???
The Keypress event for a ListBox does not seem to fire when the user hits Ctrl-A, Ctrl-C, or Ctrl-V. I would like to use these keystrokes for their usual action when the listbox has focus (the listbox is on a relatively complex form):
Ctrl-A - Select all items
Ctrl-C - Copy items to clipboard
Ctrl-V - Paste items from clipboard
This functionality is already built in and working via a rightclick pop-up menu. So I only need to intercept these keystrokes and call the appropriate routines behind the scenes. But the keypress event does not fire for these keystrokes (it does fire for visible ascii characters).
Any suggestions much appreciated. Thanks.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only