DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C# (http://www.daniweb.com/forums/forum61.html)
-   -   Problem: Flicking with Double Buffering on transparent control (http://www.daniweb.com/forums/thread201562.html)

tuanpq Jul 3rd, 2009 10:00 pm
Problem: Flicking with Double Buffering on transparent control
 
1 Attachment(s)
Hi all,
I'm C# newbie, and I having problem with double buffering on transparent control - flicking when draw drag rectangle (see attached file). Can anyone help me?
Thanks & rgds,

adatapost Jul 4th, 2009 6:06 am
Re: Problem: Flicking with Double Buffering on transparent control
 
Welcome tuanpq,

Did you read this article? http://www.codeproject.com/KB/GDI-pl...eeDrawing.aspx

tuanpq Jul 4th, 2009 6:54 am
Re: Problem: Flicking with Double Buffering on transparent control
 
Quote:

Originally Posted by adatapost (Post 908108)
Welcome tuanpq,

Did you read this article? http://www.codeproject.com/KB/GDI-pl...eeDrawing.aspx

I applied this technique into my program but it doesn't improve. Can you applied this technique into my program?

adatapost Jul 4th, 2009 7:44 am
Re: Problem: Flicking with Double Buffering on transparent control
 
1 Attachment(s)
Quote:

Originally Posted by tuanpq (Post 908139)
I applied this technique into my program but it doesn't improve. Can you applied this technique into my program?

I have changed - a paint event code

tuanpq Jul 5th, 2009 10:04 am
Re: Problem: Flicking with Double Buffering on transparent control
 
Thanks for helping. I've tried your's modified code, but why transparent layer became black? I've review source code and discover that transparent layer's DoubleBuffered propperty is set to true. Is that reason?


All times are GMT -4. The time now is 3:31 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC