ok, now it's clear... and if i want to SET 1+2+4 bits depths, can i just put 0x04 or do i need to specify in some way the all three of them ? still - any clue WHY my screen went blank (all the form object disappear) when i did "WinDrawBitmap" and just the bitmap was shown ?
shay "Trevor Meyer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > The value that is returned is a bitmap indicating all the supported depths. > The value you pass in to set a given mode is the number of bits/pixel. So > 0x08 indicates that 4-bit mode is supported, while 0x04 is used to SET > 4-bit/pixel mode. > > I agree that this is not especially intuitive. > > Trevor Meyer > TRG Products > [EMAIL PROTECTED] > > ---------- > From: Shay [SMTP:[EMAIL PROTECTED] > Sent: Thursday, September 14, 2000 1:28 PM > To: Palm Developer Forum > Subject: Re: 4 bit error on palm v > > according to the reference PDF of the palm - > ScrDisplayMode - This function indicates support for 4-bit drawing > by > returning a > value of 0x08, Support for bit depths of 2 and 1 is indicated by a > return > value of > 0x03. > > so for some reason, when i type 4 (or 0x04) it's ok, but when i type > 0x08 > it's not. > and i need support for 1,2 and 4 bits. > and when i draw my bitmap, the rest of the screen goes blank. > any idea ? > > i'm creating the bitmap myself. > > shay > > > /forums/ > > -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/