Dragging and rearranging images in a ListView control

  • Thread starter Thread starter batvanio
  • Start date Start date
B

batvanio

Hi

I am trying to use a ListView control displaying large icons in a View
= LargeIcon.
I want to be able to move around the displayed icons with the mouse by
dragging the icon within the ListView and rearanging them. I was trying
this by playing with different properties in the ListView control
itself or with the Items properties and the elements of the ImageList.
However, I could not find a properties combination that would allow me
to do this. Is there such an out-of-the box functionality in the
ListView control, or do I need to handle events (Drag-related) in order
to implement this?

Thanks a lot,

Ivan
 
Try setting the AutoArrange property to False and the Alignment property to
Default.

----------------
-Atul, Sky Software http://www.ssware.com
Shell MegaPack For .Net & ActiveX
Windows Explorer GUI Controls
&
Quick-Launch Like Appbars, MSN/Office2003 Style Popups,
System Tray Icons and Shortcuts/Internet Shortcuts
 
Back
Top