yes, use bitmap family..in fact i didn't even thought about possibility you
don't use them, because i always do.

in my applications which should be portable i use to have b&w single density,
4bpp single density, 16bpp single density, 16bpp double density and i always set
16bpp mode when its possible (color devices), if not then 4bpp to have at least
shades of grey

on application targeted to new devices only i have empty b&w (otherwise palm
will mess dimensions, there always must be one single density item to be on safe
side, but it may be just white picture so compression will make it really
little) and one double density 16bpp

btw to set 16bpp mode i do this
d=16;
errc=WinScreenMode(winScreenModeSet,NULL,NULL,&d,NULL);

Luc Le Blanc wrote:
> Michal seliga:
> 
>> why don't you set depth to 16 when you set it?
> 
> I had ruled out 16-bit color since I use 8-bit color indexes for drawing, but 
> I just tried it, and my button is still in B+W. And when I open the 
> UIPickColor, I still only see 256 indexed colors. Can I use a bitmap family 
> for a graphic button or form bitmap (and a textless button above it)? That 
> would perhaps solve the problem, even though Constructor says my bitmap is 
> 8-bit.
> 
> 
> Luc Le Blanc
> 

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to