[Mono-bugs] [Bug 375300] New: ToolBar ControlStyles. UserPaint and SupportsTransparentBackColor not working

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Mar 30 18:35:05 EDT 2008


           Summary: ToolBar ControlStyles.UserPaint and
                    SupportsTransparentBackColor not working
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: alex.conway at linea-research.co.uk
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Created an attachment (id=204863)
 --> (https://bugzilla.novell.com/attachment.cgi?id=204863)
example: ToolBarUserPaint.cs

Description of Problem:
I have a derivative of ToolBar in which I set UserPaint and
SupportsTransparentBackColor to true (using SetStyle) so that I can have a
ToolBar with transparent background and draw my own buttons on it.
this works fine on Microsoft.Net but not on Mono 

Steps to reproduce the problem:
1. compile the example thus:
mcs -r:System.Windows.Forms,System.Drawing ToolBarUserPaint.cs

2. run it and have a butcher's

Actual Results:
the toolbar background and buttons remain drawn by mono
with my circles drawn on top of them

Expected Results:
the toolbar should be transparent and only have the circles drawn on it

How often does this happen? 
every time with Mono

Additional Information:

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