CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 3 of 3

Thread: Edit Box Paste

  1. #1
    Join Date
    Dec 2000

    Edit Box Paste

    In a "Dialog-Based" MFC AppWizard application,
    the following results in a successful paste to
    an Edit Box:

    ctrl v

    However, for a "Single Document" MFC AppWizard application, the above fails, but the following

    ctrl shift v

    Is is possible to get:

    ctrl v

    to work in a "Single Document" MFC AppWizard application?

  2. #2
    igbrus is offline Elite Member Power Poster
    Join Date
    Aug 2000
    Los Angeles

    Re: Edit Box Paste

    You can override OnChar for corresponding view class and do what you wish. If it doesn't work, override PreTranslateNessage

    Rating isn't important...But gurus respect it and keep high

  3. #3
    Join Date
    Dec 2000

    Re: Edit Box Paste

    I successfully used a reply given by Sam Hobbs in response to the 11/15/2000 question on:

    Edit cut copy paste

    His answer is to look in the following document:

    "How to Enable Edit Menu Commands for Edit Controls" (Q145616).

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