Board index » cppbuilder » Re: How to avoid flicker
JD
![]() CBuilder Developer |
JD
![]() CBuilder Developer |
Re: How to avoid flicker2006-06-09 10:50:30 PM cppbuilder92 Azrin Aris < XXXX@XXXXX.COM >wrote: Quote
|
Michel Leunen
![]() CBuilder Developer |
2006-06-10 04:08:03 PM
Re:Re: How to avoid flicker
Azrin Aris wrote:
QuoteI'm writing a component from TGraphicControl to show part of a big JPG Michel -- ---------------------------------------- Michel Leunen mailto: see my homepage. C++Builder, BCC5.5.1 Web site: www.leunen.com/ ---------------------------------------- |
Azrin Aris
![]() CBuilder Developer |
2006-06-10 08:06:02 PM
Re:Re: How to avoid flicker
Michel Leunen wrote:
QuoteAzrin Aris wrote: I'm writing a component and is there a way to avoid flicker programatically from the component itself? Azrin {smallsort} |
Michel Leunen
![]() CBuilder Developer |
2006-06-10 11:38:24 PM
Re:Re: How to avoid flicker
Azrin Aris wrote:
QuoteAfter I set the Main Form DoubleBuffered to true, the flicker gone. But you could provide a component flicker free by its own and implement double-buffering yourself. Just draw on the canvas of a in-memory bitmap and when you are done, copy your bitmap to your canvas using BitBlt(). Do a search on google, there were many posts related to double-buffering or flickering. Michel -- ---------------------------------------- Michel Leunen mailto: see my homepage. C++Builder, BCC5.5.1 Web site: www.leunen.com/ ---------------------------------------- |
Azrin Aris
![]() CBuilder Developer |
2006-06-11 03:33:22 AM
Re:Re: How to avoid flicker
Michel Leunen wrote:
QuoteAzrin Aris wrote: |