Re: Painting problem with Vista
- From: "Tjipke A. van der Plaats" <info@xxxxxxxxxx>
- Date: Thu, 31 May 2007 21:09:09 +0200
Hi,
Compiling with D2007 on Vista and running on Vista:
The component does not display the contents anymore, but instead
only the colored background.
One hint is to maybe search it in the area of one difference between Vista
en Win2000 is theming... IIRC for some controls to work correctly with
theming on Vista is do something with DoubleBuffered?
One thing I noticed was that when the problem occurs, the clipping
rectangle of the Canvas is not correctly set but instead has a Top value
of 35 instead of 0.
An other bug solved in D2007 is that it is now correctly passing the
clipping regions to paint functions... some code assumes that the clipping
starts at 0,0 but that is not true: sometimes you only have to re-paint a
certain part of your client area and not all.... Could it be something todo
with that?
B.T.W. borland.public.delphi.thirdpartytools.general is probably not the
correct group for this
Tjipke
--
Need to change your projects version info from the commandline?
Use ChangeRes: http://www.tiriss.com/changeres
* Now with Delphi 2007 support! *
.
- References:
- Painting problem with Vista
- From: Kees Vermeulen (Kever-IT)
- Painting problem with Vista
- Prev by Date: Re: Unicode Grid Replacement for DevEx Quantumgrid
- Previous by thread: Painting problem with Vista
- Index(es):
Relevant Pages
|