Rearranging List Control Rows through Drag and Drop (including demos!)

Wayne was nice enough to give some example code in his article, but not sample project files.  Since I posted some solutions and fixes to things pertaining to this article, I have recieved several emails asking for sample code.

Screen Shots:
 

Sortlist
Drag...
Drop...

 
SortlistView
Drag...
Drop...

Download dialog demo project - 12 KB

Download view demo project - 18 KB

Date Last Updated: March 23, 1999



Comments

  • Drop & Drop feedback

    Posted by Legacy on 03/30/1999 12:00am

    Originally posted by: Rodger Bernstein

    The drag and drop stuff would be much more useful if there were some feedback telling the user where the item(s) will be moved to. Perhaps the item would draw a line above or below the text indicating where the items will be moved to. It should be able to handle you moving the items above the top item and below the last item.

    I 'm assumeing this code will handle multiple selections.
    Anyone feel like implementing this?

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

Top White Papers and Webcasts

  • On-demand Event Event Date: July 22, 2014 In this WhatWorks analysis, John Pescatore examines a use case where end users had local administrative rights on their PCs and it had gotten out of hand for this Fortune 500 Energy and Utilities company. The compelling event that prompted the company to reexamine this situation was the migration to Windows 7. In Windows XP, a custom tool that allowed users one of three levels of administrative rights to their workstations would need to be replaced during the Windows …

  • On-demand Event Event Date: September 10, 2014 Modern mobile applications connect systems-of-engagement (mobile apps) with systems-of-record (traditional IT) to deliver new and innovative business value. But the lifecycle for development of mobile apps is also new and different. Emerging trends in mobile development call for faster delivery of incremental features, coupled with feedback from the users of the app "in the wild." This loop of continuous delivery and continuous feedback is how the best mobile …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds