FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

update problem

 
Post new topic   Reply to topic     Forum Index -> DFL
View previous topic :: View next topic  
Author Message
HienTau



Joined: 16 Jun 2005
Posts: 12

PostPosted: Tue Jun 21, 2005 4:02 am    Post subject: update problem Reply with quote

I am trying to update a form window after some painting. Unfortunately I am not a WinAPI specialist. I thought that simply painting on a form would lead to a repaint. How can I trigger a repaint (via a timer, for example)?
Back to top
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Tue Jun 21, 2005 5:37 am    Post subject: Re: update problem Reply with quote

HienTau wrote:
I am trying to update a form window after some painting. Unfortunately I am not a WinAPI specialist. I thought that simply painting on a form would lead to a repaint. How can I trigger a repaint (via a timer, for example)?


Hi, you can use the invalidate() method - http://wiki.dprogramming.com/DflDoc/Control-Control-invalidate
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DFL All times are GMT - 6 Hours
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, 2005 phpBB Group