[Mono-bugs] [Bug 437933] New: ListView drawing is the same even when Application. EnableVisualStyles is not called

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 22 17:07:47 EDT 2008


           Summary: ListView drawing is the same even when
                    Application.EnableVisualStyles is not called
           Product: Mono: Class Libraries
           Version: SVN
          Platform: i686
        OS/Version: openSUSE 11.0
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: mcarrion at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Beta-Customer

Created an attachment (id=247284)
 --> (https://bugzilla.novell.com/attachment.cgi?id=247284)
Application.EnableVisualStyles example

If you call Application.EnableVisualStyles() the Group header is drawn, if you
don't execute Application.EnableVisualStyles() the Group header is not drawn.
I'm not sure if this behavior affects any other control but ListView.

To reproduce this: build the attached example in .NET and run, then comment the
line with "Application.EnableVisualStyles() " and run again, you will see the

This happens in MS Windows Vista, not sure about XP.

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