i tried also the 0x08, it didn't work. on the emulator i get an error : "just read directly from an unaloocated chunk of memory", so i believe this is the problem, BUT - i'm allocating the memory before, i do MemSet to the Bitmap pointer with a size of his header & Data (which i check and the data size is correct) so ?
thanks, shay "Tom Zerucha" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > On Thu, Sep 14, 2000 at 12:58:33AM +0200, Shay wrote: > > hi, > > i'm trying to display a 4 bit bmp on the palm, using : > > in the bitmap header i put imageHeaderPtr->pixelSize = 4; > > > > and i used : > > ScrDisplayMode (scrDisplayModeSet, 0, 0, 0x8B, 0); > > You need to set only ONE bit. 0x8b is probably returning an error you > are ignoring. Try just 0x08 (this requests 4bpp, not 8,4,2,and 1 at > the same time). > > > WinDrawBitmap (...) > > > > for some reason i can do it on Palm 3c, but i can't do it on Palm 5. > > i thought that i used a 3.5 command, but when i took a 1 bit bmp i succeed > > to display it on palm 3 & 5. > > > > anyone have a clue for me ? > > > > thanks, > > shay > > > > > > > > -- > > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/ > > -- > > > -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
