Hello folks,
I'm using two windows, one for storing graphics off screen and one for
displaying the graphics on screen. They are named scrnBuffer and graphics,
Now, I want to refresh / update the on screen window to display the
offscreenBuffer. I'm doing this using the following code:
WinHandle temp = WinGetDrawWindow();
WinSetDrawWindow(scrnBuffer);
WinCopyRectangle(graphics, scrnBuffer, &drawArea, 0,DrawAreaTop,
scrCopy);
WinSetDrawWindow(temp);
But that wont work, the scrnBuffer doesn't get refreshed until I draw
something in it, for example a line using WinDrawLine(0,0,1,1). There have
to be a way of updating a window, I've searched the API Reference without
any luck.
Thanks a bunch!
/ Nils �gren
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html