CheckBoxes in TreeView Controls

Using (or providing) components based on the "Win32" framework

CheckBoxes in TreeView Controls

Postby Dick Bowman on Wed Jan 06, 2010 1:37 pm

Has anyone seen strange behaviour when using the CheckBoxes property of the TreeView object?

What I'm noticing is that the initial rendering is correct (there's a visible checkbox against each item), but sometimes after using SetItemState one or more checkboxes will disappear - leaving some items with a checkbox and others without. I haven't been able to create a simple scenario that illustrates, it's only within a full application context - maybe there's something strange going on that I haven't noticed. The item states all seem to be as expected. It's as if the CheckBoxes property was allowed to have a value for each item (I checked - it isn't).

This with 12.1 64-bit Unicode under Windows 7.

I probably won't be pursuing it much further myself, because I'm not that happy with the application interface - so there'll probably be a revamp without the TreeView shortly.
Visit http://apl.dickbowman.com to read more from Dick Bowman
User avatar
Dick Bowman
 
Posts: 235
Joined: Thu Jun 18, 2009 4:55 pm

Return to Windows: GUI, COM/OLE/ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest