I had a similar problem.
You have to load a picture and then set the pixelformat, otherwise it does not work.
> Hi Pawel,
> Try setting a width and height for it (or loading an image into it), and
>THEN setting its pixelformat.
>> I've tried to set property PixelFormat for new create object bitmapa. I
>> written the code like below:
>> Graphics::TBitmap *bitmapa = new Graphics::TBitmap();
>> but it bitmapa's pixelformat is still pfDevice. What is wrong?