[Mono-bugs] [Bug 363367] TreeView plus/minus box fails with owner drawn checkboxes

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 20 17:05:47 EST 2008


User derekd at omni-ts.com added comment

--- Comment #1 from Derek Duban <derekd at omni-ts.com>  2008-02-20 15:05:47 MST ---
Created an attachment (id=196112)
 --> (https://bugzilla.novell.com/attachment.cgi?id=196112)
Compile and run to view hit test problem with TreeView

Compile and run this. It demonstrates the problem with the plus/minus box being
interpreted as being where the owner drawn checkbox is.

We've done a bit of code to fix this. To see it run, run this app with "fix" on
the parameter line. It will demonstrate how we are finding the plus/minus hit.
It does not, however, prevent the expand/collapse that happens with a click on
the state image. This "fix" has not been tested on all permutations but is only
a test sample.

>mono TreeViewClicks.exe


>mono TreeViewClicks.exe fix

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list