HOWTO: How to Enable Edit Menu Commands for Edit Controls (145616)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++ for Windows, 16-bit edition 1.0
- Microsoft Visual C++ for Windows, 16-bit edition 1.5
- Microsoft Visual C++ for Windows, 16-bit edition 1.51
- Microsoft Visual C++ for Windows, 16-bit edition 1.52
- Microsoft Visual C++, 32-bit Editions 2.0
- Microsoft Visual C++, 32-bit Editions 2.1
- Microsoft Visual C++, 32-bit Editions 2.2
- Microsoft Visual C++, 32-bit Editions 4.0
This article was previously published under Q145616 SUMMARY
On a CDialog or other window that has no edit menu options for cutting,
copying, and pasting, CEdit controls handle these functions through the
normal Windows accelerator processing (CTRL+X,V,C, or the SHIFT-DELETE,
SHIFT-INSERT, CTRL-INSERT, CTRL-DELETE, and so on keys). However, in a
typical MDI or SDI application, these options are disabled.
This is due to the default implementation for menu handlers and accelerator
keys that AppWizard adds to your application to handle these functions.
These menu handlers get the accelerator keystrokes instead of your edit
control. This article shows you how to implement the edit control's
clipboard functions on a CFormView-derived form.
Modification Type: | Major | Last Reviewed: | 12/1/2003 |
---|
Keywords: | kbCtrl kbDocView kbEditCtrl kbhowto KbUIDesign KB145616 kbAudDeveloper |
---|
|