Implementing Drag and Drop on List Control Items

Environment: VC++ 5.0-6.0, NT 4.0/2000/XP, Win 2000/ME

Level: Intermediate

In this article, I implemented a drag and drop operation for list control items. I implemented a list control that displays the graphics for a particular folder as thumbnails. The user can drag the thumbnails and drop them on the destination list control. The thumbnail actually gets copied from one list control to another.

About the Author

I work in a software company as a senior programmer; we develop software for specific hardware. I am not a well-experienced VC++ programmer, but tried to implement my best efforts.

Downloads

Download demo project - 24 Kb
Download source - 114 Kb


Comments

  • Where is the article?

    Posted by nitin_rajurkar on 10/23/2007 02:12am

    I can't find the article. How can I rate it?

    Reply
  • Listbox

    Posted by Legacy on 11/18/2003 12:00am

    Originally posted by: moin

    1. Please advise me how to do it the follwoing :

    If i am using listbox and when i am updating the data by using other tool like text box the data is not going to added in the listbox from the back end,

    could u please make the programme on it and forward it to me with the coading

    Your ealriest response to this matter is highly appreciated.

    tks
    bye
    moin

    Reply
  • Great!!!

    Posted by Legacy on 03/17/2003 12:00am

    Originally posted by: Jinny

    Just what I needed - was breaking my head for about a week, and found this code - 10x a lot :]

    Reply
  • Why drag n drop not working on my computer(Win98 & Win2K)

    Posted by Legacy on 02/13/2003 12:00am

    Originally posted by: coolvcguy

    I tried to download the application and tested a bit.
    
    But it doesn't work here in Win98 and Win2k.
    Is any file missing in my computer or I have not
    followed the procedure properlly?
    I opened some files in left listbox and then try to
    do drag and drop with mouse on rightside list box.
    But didn't work.
    Thankx in advance.

    Reply
  • Do you know how to drag from different applications?.

    Posted by Legacy on 02/11/2003 12:00am

    Originally posted by: vikram

    Hi..

    Nice code.
    do you know how todrag the drag the thumbnails from other applications and drop to my application?.

    TIA
    Vikram Patwardhan

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Download the Information Governance Survey Benchmark Report to gain insights that can help you further establish business value in your Records and Information Management (RIM) program and across your entire organization. Discover how your peers in the industry are dealing with this evolving information lifecycle management environment and uncover key insights such as: 87% of organizations surveyed have a RIM program in place 8% measure compliance 64% cannot get employees to "let go" of information for …

  • When it comes to desktops – physical or virtual – it's all about the applications. Cloud-hosted virtual desktops are growing fast because you get local data center-class security and 24x7 access with the complete personalization and flexibility of your own desktop. Organizations make five common mistakes when it comes to planning and implementing their application management strategy. This eBook tells you what they are and how to avoid them, and offers real-life case studies on customers who didn't …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds