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

x
?
Solved

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

Posted on 2001-06-07
2
Medium Priority
?
807 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
[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
2 Comments
 
LVL 49

Accepted Solution

by:
DanRollins earned 400 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

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
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