Solved

WIN32:Drag and Drop

Posted on 1998-03-03
1
1,258 Views
Last Modified: 2013-12-03
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.
0
Comment
Question by:kt030398
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 23

Accepted Solution

by:
chensu earned 100 total points
ID: 1411684
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

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question