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

    clipboard format

    My Program is texteditor create form visual c++ 6.0 (mfcAppWizard (Richeditview)).
    Now me can paste imgfile(file picture) onto document.
    I need can paste only textfile.
    please answer me urgent.
    thankyou very much.



  2. #2
    Join Date
    May 1999
    Posts
    30

    Re: clipboard format

    hClibMemory = GetClipboardData(CF_TEXT);
    if(!hClibMemory) // if not text data just go away
    {
    return S4TK_PasteFailed;
    }


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