listview and checkboxes

  • Thread starter Piotrek Stachowicz
  • 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
 
M

Munir Husseini

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
 

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