Overriding graphic aspect of treeview checkbox

  • Thread starter Thread starter metalseb
  • Start date Start date
M

metalseb

Hi there

Just wondering if there is any way to change the bitmap displayed by a
checkbox inside a treeview by some bitmaps of mine, loaded in an imagelist
for example. Any help would be greatly appreciated if this kind of thing is
possible.
 
The images are contained in the state image list
where index 1 is the unchecked image and index 2
is the checked one. You can replace the images
(or the entire list) with whatever you want. See
TVS_CHECKBOXES for more info.

You'll need to use P/Invoke

/claes
 
Back
Top