Solved

Using Ctrl+X, Ctrl+C and Ctrl+V with CHtmlView

Posted on 2001-06-07
2
750 Views
Last Modified: 2013-11-20
By default, the CHtmlView doesn't process Cut/Copy/Paste keys. How to implement them?

Thank you!
0
Comment
Question by:fmichaud061597
2 Comments
 
LVL 49

Accepted Solution

by:
DanRollins earned 100 total points
ID: 6166172
This was tricky -- iy took me a while to figureout why a webbrowser in a dilaog box could cut and paste, but not in a CHTMLView (it also worked in the sample MFCIE).  

You will kick yourself for not thinking of it:

1) Open the resource editor
2) click the Accelerators folder
3) double-click IDR_MAINFRAME
4) click ID_EDIT_COPY
5) press the delete key

Build and run the app and.  Select some text and press Ctrl+C.  Paste it into a text file.

-- Dan
0
 

Author Comment

by:fmichaud061597
ID: 6168616
Thank you very much!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ADO Memory leak with DELPHI 2007 37 170
repeatEnd java challenge 42 84
Smart Camera scanning and reading information 3 99
how to split multiple lines delimiter : 8 77
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
A short film showing how OnPage and Connectwise integration works.

930 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now