WIN32:Drag and Drop

Can anybody tell me how to do drag and drop by using win32 API?
I had developed a Windows Texture Compression image viewer Windows application by using Win32 API.
It will be nice if I could add the drag and drop feature in my application. Unfortunately, I couldn't find any useful information about this.
kt030398Asked:
Who is Participating?
 
chensuConnect With a Mentor Commented:
There are two methods to do dragging and dropping.
1. Use Shell Library functions
DragAcceptFiles
DragFinish
DragQueryFile
DragQueryPoint
WM_DROPFILES

The documentation is under Platform SDK/User Interface Services/Shell/Shell Library/Using the Shell Features/Using the drag-drop feature.

2. Use OLE Dragging and Dropping.

The documentation is under Platform SDK/User Interface Services/Shell/Dragging and Dropping.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.