[Mono-bugs] [Bug 417962] WS_EX_COMPOSITED does not remove flashing

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 11 12:03:22 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=417962

User kobruleht2 at hot.ee added comment
https://bugzilla.novell.com/show_bug.cgi?id=417962#c2


andrus moor <kobruleht2 at hot.ee> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|RESOLVED                                        |REOPENED
         Resolution|WONTFIX                                         |




--- Comment #2 from andrus moor <kobruleht2 at hot.ee>  2008-09-11 10:03:22 MDT ---
I changed Load method to 

void ReportDialogForm_Load(object sender, EventArgs e)
    {
        DoubleBuffered = true;
        this.SetStyle(ControlStyles.OptimizedDoubleBuffer |
ControlStyles.AllPaintingInWmPaint, true);
        StartPosition = FormStartPosition.Manual;
        Location = new Point(10, 10);
        ClientSize = new Size(400, 400);
    }

But flashing is NOT reduced using SVN code.

The problem is actually caused by the TabControl.
The form's DoubleBuffered won't help.
Actually, the form's DoubleBuffered would have only affected drawing on
the form directly, not child controls, in any case.

So there is no any other way to reduce flickering.


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


More information about the mono-bugs mailing list