|
-
May 20th, 2001, 12:40 AM
#1
Thread Starter
New Member
Send key combination to RichTextBox
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
-
May 20th, 2001, 01:11 AM
#2
Set the RichTextBox's AutoVerbMenu property to True.
-
May 20th, 2001, 10:18 AM
#3
Try using WM_CUT, WM_COPY, WM_PASTE and WM_UNDO instead
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|