BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

D2007 Paint Logic Changes

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics
View previous topic :: View next topic  
Author Message
Shawn Jones
Guest





PostPosted: Wed Apr 11, 2007 7:23 pm    Post subject: D2007 Paint Logic Changes Reply with 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?
Back to top
David Ninnes
Guest





PostPosted: Mon Apr 23, 2007 3:39 am    Post subject: Re: D2007 Paint Logic Changes Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.