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
Solved

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

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

860 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