I'm trying to use a ListView control to let users change the sequence of
a bunch of items that are displayed in the Large Icon mode. After
staring at this control for the better part of this afternoon, I've run
into a few problems:

 

1) Is there out-of-the-box functionality that would let a user drag
items around the ListView? There are sparsely documented properties like
AutoArrange that seem to indicate this but I can't seem to get them to
work. 

 

2) I spent some time this afternoon trying to roll my own drag and drop
implementation that would let me do this. However, I cannot for the life
of me figure out how to get the icon spacing out of the ListView
control. In Win32 code, I would call ListView_GetIconSpacing() to
retrieve this value or send a LVM_GETICONSPACING message to do the same.
How do I do this in WinForms?

 

Thanks,

 

-John

http://www.iunknown.com <http://www.iunknown.com/> 

 

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to