I'd like to be able to use the built in cut, copy, paste, delete and undo functions of the RichTextBox from a menu item. I thought the best way to do this would be to send the keycode to the RTF box, but it didn't work.

I have tried SendMessage API with messages WM_KEYUP, WM_KEYDOWN, WM_SYSKEYUP and WM_SYSKEYDOWN - no success.

Any ideas?



Matt
http://slicersdomain.cjb.net