Solved

CTRL+V HOTKEY AND RICHTEXTBOX

Posted on 1998-12-22
4
440 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 20 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

718 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