Common controls v4.70 used to let you apply different "state images" to each item, to determine the checkbox appearance and also hide the checkbox for any item. Things might have changed in v5.80, though (see TVS_CHECKBOXES documentation for details). The "state image" feature is still there, though. So maybe you can use this instead of TVS_CHECKBOXES style to get finer control over per-item checkboxes. However, this is all 'raw' Win32 stuff, not part of the current WinForms tree view class. |