943,733 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 2447
  • C# RSS
Jul 3rd, 2009
0

Problem: Flicking with Double Buffering on transparent control

Expand Post »
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,
Attached Files
File Type: zip DB.zip (451.2 KB, 125 views)
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
tuanpq is offline Offline
5 posts
since Jul 2009
Jul 4th, 2009
0

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
Moderator
Reputation Points: 2136
Solved Threads: 1228
Posting Genius
adatapost is offline Offline
6,527 posts
since Oct 2008
Jul 4th, 2009
0

Re: Problem: Flicking with Double Buffering on transparent control

Click to Expand / Collapse  Quote originally posted by adatapost ...
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?
Last edited by tuanpq; Jul 4th, 2009 at 6:55 am.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
tuanpq is offline Offline
5 posts
since Jul 2009
Jul 4th, 2009
0

Re: Problem: Flicking with Double Buffering on transparent control

Click to Expand / Collapse  Quote originally posted by tuanpq ...
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
Last edited by adatapost; Dec 15th, 2010 at 3:07 am.
Moderator
Reputation Points: 2136
Solved Threads: 1228
Posting Genius
adatapost is offline Offline
6,527 posts
since Oct 2008
Jul 5th, 2009
0

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?
Last edited by tuanpq; Jul 5th, 2009 at 10:22 am.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
tuanpq is offline Offline
5 posts
since Jul 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: Practice Exercises in C#
Next Thread in C# Forum Timeline: Problem with connect to MS Access...





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC