Article View: comp.lang.pascal.delphi.components.writing
Article #34TGraphicContol flickering...
From: Thierry Imbert
Date: Sat, 05 Sep 1998 00:00
Date: Sat, 05 Sep 1998 00:00
24 lines
1697 bytes
1697 bytes
Hi, Taking a part ot the TSpeedbutton source code, I recently wrote a graphic component similar to the it, but the glyph is taken from an image list instead of a TBitmap. This allows to draw Bitmaps or Icons and avoid some transparency problems. The image can also be stretched and smoothly drawed regarding of the background in case the Flat flag is set. However, like the TSpeedButton and when Flat is set, I get some flickering when the mouse pointer enter and exit the button... In fact, the component redraw itself when mouse enter or exit. My routine is correctly optimized to minimize the drawing time to the minimum. Is there a solution to avoid ALL of the flickering? Thanks. Thierry Imbert. PS: If anyone need this component, please mail me and remove the "nospam-" from the return address.
Technical Details
Message-ID:
<35F1275D.4D4A4621@hotmail.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10baee,faec4f7a3458a9d0,start X-Google-Attributes: gid10baee,public X-Google-Thread: 109d99,faec4f7a3458a9d0,start X-Google-Attributes: gid109d99,public X-Google-Thread: 112b07,faec4f7a3458a9d0,start X-Google-Attributes: gid112b07,public X-Google-Thread: fe2ce,faec4f7a3458a9d0,start X-Google-Attributes: gidfe2ce,public From: Thierry Imbert <noSpam-Bkg97@hotmail.com> Subject: TGraphicContol flickering... Date: 1998/09/05 Message-ID: <35F1275D.4D4A4621@hotmail.com> X-Deja-AN: 388130848 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Reply-To: noSpam-Bkg97@hotmail.com Newsgroups: comp.lang.pascal.delphi.components.writing,comp.lang.pascal.delphi.components.misc,borland.public.delphi.vcl.components.writing,comp.lang.pascal.delphi.misc