Could anyone please help me with the following problem?

The application I am building may be run on 256 color screens.
To avoid dithering, I've put a 2 in the high order byte of the color properties.

In 256 color screenmode, every control appears in the color I want it to....
...until I define a frame to be its container.

In a container, the color appears differently, although the background color of
the container is the same as the background color of the form.

I have tried setting the palette and palettemode property to a bitmap
(that also appears fine on screen), but no result.

I hope there is another solution than to work around using container frames....