Re: Windows vertical retrace
- Posted by ags <eu at 531pi.co.nz> Jun 21, 2006
- 570 views
Derek Parnell wrote: > > ags wrote: > > > > Hi All > > > > After a quick google it seems to me that there is no way to detect the > > vertical > > retrace on the windows desktop (ie 'non-exclusive' mode). > > You don't have to with Windows GUI programming. The 'trick' is to do your > drawing > onto a Pixmap control and then copy the Pixmap to the Window during the > w32HPaint > event. The way to trigger that event is to call > > repaintFG(mywindow) > > If you want to see how this is down you can explore the 'wordcatcher' demo > program > that comes with win32lib. Ah, got it, thanks, repaintFG works well. One question though.. why is there no non-erasing equivalent for repaintRect? Gary