CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2005
    Posts
    6

    Editbox in FormView

    Hi All,

    I have some CEdit's in an CFormView and I can do copy&paste by using the contextual menu but I just cannot do that by using the keyboard combinations Ctrl+C, Ctrl+V and so on. Of course there is no such problem for a CEdit in a CDialog.

    I suppose there are some keywords' related messages eaten by CFormView. Any tips on how to solve this? Thanks.

    Regards,
    Cosmin Unguru

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    Re: Editbox in FormView

    Search for the "HOWTO: How to Enable Edit Menu Commands for Edit Controls" article in MSDN.

  3. #3
    Join Date
    Sep 2004
    Location
    New Delhi, India
    Posts
    640

    Re: Editbox in FormView

    Another thing that you may do is to remove the Accelerator associated with Ctrl + C in your project.
    "I rather not play football than wear Nerrazzuri shirt" - Paolo Maldini
    FORZA MILAN!!!

  4. #4
    Join Date
    Jun 2005
    Posts
    6

    Re: Editbox in FormView

    Thanks for your replies. Unfortunately removing the accelerators and handlers did not solved the issue.

    I create my CFormViews dynamically in CMainFrame::OnCreate I suppose this is why. Any more ideas?

    Regards,
    Cosmin Unguru

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