how to CListCtrl.SetItemPosition (MFC) a ListView (C#)

  • Thread starter Thread starter =?ISO-8859-1?Q?Herbert_VON_GR=DCNENWALD?=
  • Start date Start date
?

=?ISO-8859-1?Q?Herbert_VON_GR=DCNENWALD?=

Hi everyone !

I would like to set an ListViewItem at a special position, into a ListView.
There is Bounds, but it's a propertie, that can be only get !


(i could to that in MFC with CListCtrl.SetItemPosition(...))

thanks
 
Hi,

You can use listView.Items.Insert (...) method to insert an item to the
specific position into ListView
 
Peter said:
Hi,

You can use listView.Items.Insert (...) method to insert an item to the
specific position into ListView

i would like to place the item at a special coordinates, not at a
special index.

like:

MFC: BOOL CListCtrl::SetItemPosition(int nItem, POINT pt);
 
Back
Top