Re: Windows vertical retrace

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu