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

  • Live Event Date: August 20, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT When you look at natural user interfaces as a developer, it isn't just fun and games. There are some very serious, real-world usage models of how things can help make the world a better place – things like Intel® RealSense™ technology. Check out this upcoming eSeminar and join the panel of experts, both from inside and outside of Intel, as they discuss how natural user interfaces will likely be getting adopted in a wide variety …

  • With 81% of employees using their phones at work, companies have stopped asking: "Is corporate data leaking from personal devices?" and started asking: "How do we effectively prevent corporate data from leaking from personal devices?" The answer has not been simple. ZixOne raises the bar on BYOD security by not allowing email data to reside on the device. In addition, Zix allows employees to maintain complete control of their personal device, therefore satisfying privacy demands of valued employees and the …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds