Double Buffering is a common technique to reduce flickering in “simple” 2d animations. Binary Clock for Palm OS uses this technique to deliver smooth graphics. The idea behind double buffering is to draw in an offscreen window and copy the contents of the window into the display buffer en bloc every now and then. This way, the user always sees a stable and completely-drawn image.

This is - of course - also possible on a PocketPC. Microsoft’s MSDN contains an article on double buffering - however, finding it took a bit of time. That’s why I’m sharing this link…

Get the full scoop here:
http://msdn2.microsoft.com/en-us/library/ms172506(VS.80).aspx

The page above doesn’t render well in Firefox 2. The German MSDN page contains exactly the same sample code(with English comments) - without the CSS bug:
http://msdn2.microsoft.com/de-de/library/ms172506(VS.80).aspx