Re: Windows vertical retrace

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

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.

-- 
Derek Parnell
Melbourne, Australia
Skype name: derek.j.parnell

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

Search



Quick Links

User menu

Not signed in.

Misc Menu