Are you drawing the current form before you use WinDrawBitmap? If you draw to the screen without a form loaded and drawn, you will get this error.
--- Tim Kostka "Elie_CALI" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > > I just begin with Palm development, and I curently have a problem when > trying to use the function WinDrawBitmap (error : Bad Window). > I tried several things, including create an offscreen window, then draw in > it, and then change the Draw Window to the main window and use > WinCopyRectangle (and here comes again the Bad Window error). > > Do you have any suggestion? > > Thanks. > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
