Repositioning a ListViewItem

N

Norfy

As my first project in C# (after 'Hello World') I am trying to add a
ListView to a Form so that it behaves like the 'LargeIcon' view in a
Windows Explorer. ie. a ListViewItem can be dragged and placed
anywhere in the ListView.

So far I have not been able to do this and the only info that I can
find, http://www.mvps.org/btmtz/listview/ basically says a ListView
control is only a wrapper for the real ListView widget and the full
API has not been exposed.

Is this article relevant to .NET controls since it's 4 years old and
of course for VB.

If not, does anyone know if I've simply missed something, or that my
only option is to start accessing the Comctl32.dll directly?

Thanks for any info.
 
P

Peter Theill

As my first project in C# (after 'Hello World') I am trying to add a
ListView to a Form so that it behaves like the 'LargeIcon' view in a
Windows Explorer. ie. a ListViewItem can be dragged and placed
anywhere in the ListView.

Make sure to set .AutoArrange = false


--
Sincerely,
Peter Theill
Software Developer
ConquerWare
Web: http://www.conquerware.dk/
E-mail: (e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top