listview and checkboxes

  • Thread starter Thread starter Piotrek Stachowicz
  • Start date Start date
P

Piotrek Stachowicz

Hi there!
I need to create a listView with 3 columns. First is the file name,
whereas the second and third should contain just a check box (two separate).
Q: Is this possible?! I know that a single entry in the listview may have a
check box, but I'd much rather have two different (for each row) and
preferably in separate columns. If not possible, suggestions regarding
working this problem around are most welcome.

Regards,
Piotrek
 
I'd say it's possible when you derive from ListView and override the OnPaint
method. But then you must override the mouse and keyboard handling as well
and create your own ListViewItem. It's much work but not as difficult as it
may sound.


Good luck,

Munir Husseini

iCOMcept GmbH

www.icomcept.com
 
Back
Top