BUG: TreeView Problems with CheckBoxes (192188)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q192188 SYMPTOMS
After setting the Treeview control's Checkbox's property to True, selecting
the CheckBox on a child node can return the incorrect state of the
CheckBox. The value returned is inconsistent depending upon whether the
CheckBox is selected or the label is selected. Also, clicking the
CheckBox does not fire the NodeClick event; it only fires the Click event
of the TreeView.
RESOLUTION
Use Win32 API calls instead of setting the Checkboxes property to True. See
the MORE INFORMATION section below for more details.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCESFor additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
224181 BUG: GDI Resource Leak Using Checkboxes in ListView Control
Modification Type: | Major | Last Reviewed: | 5/12/2003 |
---|
Keywords: | kbBug kbCmnCtrls kbCtrl kbpending kbTreeView KB192188 |
---|
|