Results 1 to 3 of 3

Thread: Send key combination to RichTextBox

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 1999
    Location
    Adelaide, South Australia
    Posts
    1

    Talking 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

  2. #2
    Matthew Gates
    Guest
    Set the RichTextBox's AutoVerbMenu property to True.

  3. #3
    anoop007
    Guest
    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
  •  



Click Here to Expand Forum to Full Width