View previous topic :: View next topic |
Author |
Message |
HienTau
Joined: 16 Jun 2005 Posts: 12
|
Posted: Tue Jun 21, 2005 4:02 am Post subject: update problem |
|
|
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 |
|
|
Chris Miller
Joined: 27 Mar 2004 Posts: 514 Location: The Internet
|
Posted: Tue Jun 21, 2005 5:37 am Post subject: Re: update problem |
|
|
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 |
|
|
|