 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Shawn Jones Guest
|
Posted: Wed Apr 11, 2007 7:23 pm Post subject: D2007 Paint Logic Changes |
|
|
I've seen several references stating changes to D2007 Paint Logic. Can
someone give some more details on this? Will this have an affect on
developing high performance graphics programs in Delphi? |
|
| Back to top |
|
 |
David Ninnes Guest
|
Posted: Mon Apr 23, 2007 3:39 am Post subject: Re: D2007 Paint Logic Changes |
|
|
Shawn Jones <shawnjones3 wrote:
| Quote: | I've seen several references stating changes to D2007 Paint Logic. Can
someone give some more details on this? Will this have an affect on
developing high performance graphics programs in Delphi?
I have found a change in the paint operation on Vista with D2007. Do |
this. Create a new application, in the OnPaint envent in the form add
Canvas.MoveTo(50,50);
Canvas.LineTo(100,100);
put a breakpoint on a line, and make sure the form window and the Delphi
window overlaps.
In XP the breakpoint keeps breaking each time the screen is displayed.
In Vista the breakpoint only happens once. I'm guessing this is a change
in Vista, it must keep a copy of the window in memory and only executes
the paint message when the window is invalidated, this is how it makes
the thumbnails and the window switcher.
I haven't found a negative for this yet, and it makes debugging paint
routines a lot easier.
I don't have 2006 installed on Vista to prove if this is a new Delphi
feature or a Vista feature, I'd guess Vista.
If anyone has 2006 installed on Vista it would be interesting to see if
it happens there as well.
hth,
Dave |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|