I want to fire an event when a user presses Control+C when NOT in a
situation where that keypress combo would copy something to the clipboard.
My current attempt was to override the ProcessDialogKey method in the
control, since the KeyPress event doesn't let you know about the Control key
presses. In order to not fire my event off when one actually wants to copy
something to the clipboard, I put in a call to base.PreocessDialogKey()
before doing anything in my overwritten method, and checked to see if it
returned false -- but it ALWAYS does. It was my thought that it would return
true if the system had been able to use the Control-C keypress, but I guess
not.
How can I accomplish this?
Thanks,
--Dan Broschart