Knowledge Base
Q145616
HOWTO: How to Enable Edit Menu Commands for Edit Controls
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