I am trying to draw a form in an offscreen window so I can add my own
graphics and copy it to the screen. The form is flickering on the screen
though. Normally when I do double buffered graphics I don't have this
problem because I never use FrmDrawForm, but in this case I need to have
some standard UI elements. Does FrmDrawForm not want to draw into an
offscreen window?
case nilEvent:
WinSetDrawWindow(offscreenWin);
FrmDrawForm(frmP);
clipRect.topLeft.x = clipRect.topLeft.y = 0;
clipRect.extent.x = clipRect.extent.y = 160;
sproutpaintFX->Draw(titleX, titleY, &clipRect);
WinSetDrawWindow(screenWin);
WinDrawBitmap(offscreenBitmap, 0, 0);
Brandon
-------------------------
Get SproutPaint for PalmOS
http://www.sproutworks.com/sproutpaint
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
