Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - Drag and drop in WinExplorer, how to?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Drag and drop in WinExplorer, how to?

 Post Reply Post Reply
Author
Message
DavidH View Drop Down
Groupie
Groupie


Joined: 24 March 2007
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote DavidH Quote  Post ReplyReply Direct Link To This Post Topic: Drag and drop in WinExplorer, how to?
    Posted: 08 September 2011 at 9:19am
The WinExplorer example doesn't seem to support Drag and Drop of files.

Begin Dragging seems to work, and dropping the files in another application is possible, but not in the WinExplorer itself.

How can I make both the TreeView and the ListView 'drop targets' ?

For the ListView, it seems that calling DragAcceptFiles in OnCreate and implementing OnDropFiles works. For the TreeView, not so much.

BTW: the original example code has a bug causing an ASSERT to trigger.
To reproduce: start the WinExplorer in debug mode, and drag an item from the right pane out of the window and back in and release. (V 15.1.3, VS2010).

Thanks for any reply!

David.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.094 seconds.