CTRL+V HOTKEY AND RICHTEXTBOX

I am creating a text editor in VB6 that uses a richtextbox.  The problem is that I have an edit menu with cut, copy and paste and I want to assign the standard Windows hotkeys (ctrl+x, ctrl+c & ctrl+v) but ctrl+v for paste, performs the action twice.

I assume what is happening here is that the first action is the richtextbox action and the second is my action.  I can't find a way around this.
jason_osborneAsked:
Who is Participating?
 
mark2150Commented:
*YOU* don't need to code for these events. They happen AUTOMATICALLY as part of windows. Turn off your code and things will smooth out.

M

0
 
mark2150Commented:
P.S.

If you need code, I have a complete form that allows editing/printing of RTB. email me direct at Mark_Lambert@ntsc.navy.mil and I'll send it to you.

M

0
 
jason_osborneAuthor Commented:
I know that windows does the ctrl+v thing but I would like the hotkey to be in the menu next to the paste command.
0
 
mark2150Commented:
Just put it on the menu but don't make *CODE* for it!

M

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.