Solved

drag and drop in a dialog-based app

Posted on 1997-09-22
3
184 Views
Last Modified: 2013-11-19
Is it possible to have drag and drop operations between two list controls in a dialog-based application (no documents and views)? If yes, what are the major steps? Thanks!
0
Comment
Question by:shibai
[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
  • 2
3 Comments
 

Author Comment

by:shibai
ID: 1306749
Edited text of question
0
 
LVL 10

Accepted Solution

by:
RONSLOW earned 50 total points
ID: 1306750
Yes - CDragListBox class supports drag and drop operations within a single list box.  You can override the "Dropped" function to get drag and drop BETWEEN list boxes (you detect the destination window and copy the data from one list to the other as approriate).

This is independant of whether it is a dialog or form or anything else.

0
 

Author Comment

by:shibai
ID: 1306751
Thanks, Ronslow!
Then how could I make the variable type of the list boxes CDragListBox? ClassWizard provides only one type, CListBox.

--shibai
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
modThree challenge 4 155
MaxSpan challenge 9 140
Use of condition with 'serial' in ansible 2 103
Windows shortcut location resolution on double click open 4 78
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

752 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