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

Thread: drag and drop

  1. #1
    Join Date
    Apr 1999
    Posts
    15

    drag and drop

    My program is richeditview(editor) create from mfcappwizard in visual c++ 6.0.
    I need my program can drag and drop.
    When i drag file(*.txt) from explorer drop in my program
    become is ICON can't open now.
    Please help me urgent.
    Thankyou very much.



  2. #2
    Join Date
    May 1999
    Posts
    116

    Re: drag and drop

    Not sure what the story with a richedit control is, but with other controls, you can add the WS_EX_ACCEPTFILES style (either in the resource editor or the Create command) and then handle the WM_DROPFILES window message.


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