blitzer0
September 17th, 2003, 07:42 AM
hi,
How do I use dragdrop without MFC?
Now I am using WM_DROPFILES, DragQueryFiles..., but I want to be able to drag files from my app to for eg. the desktop. And from the desktop to my app.
Also I want to be able to catch if a file is being dragged over my app (window). (like WM_MOUSEMOVE but for dragdrop :P)
I've been looking on msdn (and google :P), and found IDropSource, IDropTarget. Could that be it?
All the examles I've found about IDropSource, IDropTarget is all MFC. So could anyone direct me to what to do, some example code would be nice, or just anything else, I'm kinda stuck :]
--------------------------------------------
Blitzer - I know my english sucks ;P
How do I use dragdrop without MFC?
Now I am using WM_DROPFILES, DragQueryFiles..., but I want to be able to drag files from my app to for eg. the desktop. And from the desktop to my app.
Also I want to be able to catch if a file is being dragged over my app (window). (like WM_MOUSEMOVE but for dragdrop :P)
I've been looking on msdn (and google :P), and found IDropSource, IDropTarget. Could that be it?
All the examles I've found about IDropSource, IDropTarget is all MFC. So could anyone direct me to what to do, some example code would be nice, or just anything else, I'm kinda stuck :]
--------------------------------------------
Blitzer - I know my english sucks ;P