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

Thread: Drag document for open

  1. #1
    Join Date
    Aug 2011

    Drag document for open

    Hey all,
    I want to replace then classical way to open a file (MSWordDoc)
    DriveListBox, DirListBox, ListBox, with a drag action.
    When I drag the file over my application I need to find/parse the file path and then load the file in an RichTextBox to fill some data.
    So, how it's possible that?
    What controls must I use and what events?
    Some code examples or some links will be fine.

    Thanks in advance for any opinion.
    Last edited by nexusm; May 31st, 2018 at 03:53 AM.

  2. #2
    DataMiser is offline Super Moderator Power Poster
    Join Date
    Jul 2008

    Re: Drag document for open

    Been a while since I did this but I am thinking you should be able to use the drag drop event of the RTB.
    Always use [code][/code] tags when posting code.

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)