Edit hotkeys don't work in CFormViews 
Author Message
 Edit hotkeys don't work in CFormViews

When you place edit controls on dialog-based MFC apps, they respond to the
editing hotkeys (ctrl-C,V,X etc) for cut/paste operations.  If you place
those controls on CFormViews, the hotkeys are no longer active.  Is there a
simple way of turning those hotkeys on?  Writing command handers for
ID_EDIT_CUT. ID_EDIT_COPY, ID_EDIT_PASTE, ID_EDIT_CLEAR, ID_EDIT_UNDO,
ID_EDIT_SELECT_ALL seems like way too much to do for what should be there in
the first place.


Tue, 25 Sep 2001 03:00:00 GMT  
 Edit hotkeys don't work in CFormViews

Quote:
>When you place edit controls on dialog-based MFC apps, they respond to the
>editing hotkeys (ctrl-C,V,X etc) for cut/paste operations.  If you place
>those controls on CFormViews, the hotkeys are no longer active.

Rick,

Have a look at Knowledge Base article Q145616 "How to Enable Edit Menu
Commands for Edit Controls".

Dave
----
My address is altered to discourage junk mail.
Please post responses to the newsgroup thread,
there's no need for follow-up email copies.



Tue, 25 Sep 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Edit hotkeys don't work in CFormViews

2. Tree Control Edit Boxes Don't Work Properly

3. Hot Keys don't work when edit field has focus

4. Tree Control Edit Boxes Don't Work Properly

5. ACCELERATOR KEYS DON'T WORK WITH OnKeyDown BUT WORK WHEN SPY++ IS RUNNING

6. HREF's to .exe's don't work

7. Don't know why this doesn't work, but

8. Help Wnet API's don't seem to work under WINNT Service Control Manager

9. Rich Edit Edit menu doesn't work

10. CFormView..edit control's color change??

11. MIDL2361 error - [vararg] with [optional] parameters don't work in VC++ .NET

12. VC7.0: class template using declarations don't work

 

 
Powered by phpBB® Forum Software