Solved

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

Posted on 2001-06-07
2
742 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Unix / Linux grid computing 5 127
Generic progress indicator 6 110
sumNumber challenge 16 99
while loop over for loop 7 79
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

760 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

18 Experts available now in Live!

Get 1:1 Help Now