Re: Painting problem with Vista



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! *


.



Relevant Pages

  • Re: Painting problem with Vista
    ... One hint is to maybe search it in the area of one difference between Vista en Win2000 is theming... ... 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.... ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Something from respected author
    ... Donald Smith wrote: ... i.e. only when it detects Vista. ... what the VCL does with XP theming too. ...
    (borland.public.delphi.non-technical)
  • Re: Something from respected author
    ... i.e. only when it detects Vista. ... what the VCL does with XP theming too. ... Oh I thought that you had some useful feature in mind. ...
    (borland.public.delphi.non-technical)