Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

CTRL+V HOTKEY AND RICHTEXTBOX

Posted on 1998-12-22
4
Medium Priority
?
445 Views
Last Modified: 2010-05-03
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.
0
Comment
Question by:jason_osborne
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 12

Accepted Solution

by:
mark2150 earned 40 total points
ID: 1451951
*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
 
LVL 12

Expert Comment

by:mark2150
ID: 1451952
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
 

Author Comment

by:jason_osborne
ID: 1451953
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
 
LVL 12

Expert Comment

by:mark2150
ID: 1451954
Just put it on the menu but don't make *CODE* for it!

M

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question