ok but bitmap rsrcs made with pilRC are V2. I've tryed BmpCreateBitmapV3 but it doesn't work.
I call: MemHandle h = DmGetResource(bitmapRsc, BmpId); BitmapPtr bitmapP = (BitmapPtr)MemHandleLock(h); BitmapTypeV3 *bmpV3P = BmpCreateBitmapV3(bitmapP, kDensityDouble, BmpGetBits(bitmapP), NULL); WinDrawBitmap((BitmapPtr)bmpV3P, (x + shift)/2, y/2); And the simulator crashes! --- In [EMAIL PROTECTED], "Aaron Ardiri" <[EMAIL PROTECTED]> wrote: > > Hi group, > > I am trying to CopyRectangle from offscreen to the > > screen on os5 in hi-res mode but it > > doubles(stretches)! > > When using sony I just call HRWinCopyRectangle and it > > is ok, but when in os5 I have to use WinCopyRectangle. > > make sure your bitmap is a V3 bitmap, and, is double density. > dont know what i just babbled on about? go read the docs. > > --- > Aaron Ardiri [EMAIL PROTECTED] > CEO - CTO +46 70 656 1143 > Mobile Wizardry http://www.mobilewizardry.com/ > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
