Hi,
use 16bpp (also, make sure you have the palette in the bitmap) or,
set your own palette using WinSetPalette()

You mean that in the creation of Bitmap with
bmpP = BmpCreate(42,57,8,(ColorTableType *)colortableP, &error);

I have to initialize colortableP to have the palette of the bitmap??

If yes how to initialize colortableP?

thanks.


---------- Initial Header -----------

From      : [EMAIL PROTECTED]
To          : "Palm Developer Forum" <[EMAIL PROTECTED]>
Cc          : 
Date      : Fri, 6 Jun 2003 15:43:44 +0200
Subject : Re: WinPalette

> how can I use my own palette to Draw a bitmaps( from table)
> I have to use Winpalette but the image always takes the default palette.

use 16bpp (also, make sure you have the palette in the bitmap) or,
set your own palette using WinSetPalette()

---
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/


********** SPECIAL ADSL **********
L'ADSL � partir de 15,95 EUR/mois et le modem ADSL offert ?  C'est en exclusivit� chez 
Tiscali !
Pour profiter de cette offre, cliquez ici: http://register.tiscali.fr/adsl/
Offre soumise � conditions.



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to