> Hi all..
> If I do the following :
>
***************************************************************************
> bp2=BmpCreate(dw,dh,deep,NULL,&err); //dw and dh <160
>
> loc =BmpGetBits(bp2);
>
> for (i = 0; i < dh; i++)
> {
> for (j=0;j<dw;j++)
> {
> *loc++ = i;
> }
> }
>
> WinDrawBitmap(bp2, 0, 0);
>
***************************************************************************
> Depending on (dw,dh) sometimes I got a normal picture (x, y and z are
> colors) :
>
> xxxxx
> yyyyy
> zzzzzz
>
> And sometimes I got :
> xxxxy
> yyyzz
> zz
>
> Someone got an idea???
can you be a bit more specific? what screen depth are you in?
256 color? looking at the logic, it should give you:
000000
111111
222222
333333
......
hhhhhh
---
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/