?
Solved

WIN32:Drag and Drop

Posted on 1998-03-03
1
Medium Priority
?
1,266 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 300 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

777 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