CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 1999
    Posts
    2

    CEdit control won't handle cut/paste commands?



    I built an application with AppWizzard so I have the standard menus, toolbar, etc. I was wondering why my CEdit boxes (in a CFormView) won't handle cut and paste commands form the standard menu. What's weird is that when you right click the edit box, a pop-up menu comes up that lets you cut and paste. Now why would those nice folks at Microsoft add that kind of functionality to CEdit, but not message handlers for the main edit menu commands? Or am I missing something?


    Thanks,

    Jim


    PS I know that I could derive a class from CEdit and handle the commands. Is that the only way to do it?



  2. #2
    Join Date
    May 1999
    Posts
    53

    Re: CEdit control won't handle cut/paste commands?



    Just doesn't.


    If you want to have cut/paste commands on a menu try a CEditView-derived class.


    Or maybe implement your own handler.




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured