?
Solved

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

Posted on 2001-06-07
2
Medium Priority
?
795 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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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. …
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 video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Suggested Courses
Course of the Month11 days, 14 hours left to enroll

752 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