Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

WIN32:Drag and Drop

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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

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.  …
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

610 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