Palette and PaletteMode properties
Hello everybody. I am a VB6 newbie. There are two properties of the form object that I really can't understand, Palette and PaletteMode. I hear that setting PaletteMode to vbCustom, one can assign Palette to a bitmap containing the desired palette. However, it seems like VB ignores these proprieties. As a matter of fact:
1) If I load a bitmap into Form.Picture and then I load a black and white picture into Form.Palette (PaletteMode being set to vbCustom), Form.Picture stays as before, it doesn't become a black and white picture.
2) I thought it was because I have a true color display, so I tried running VB under 256-color emulation, but things didn't change.
4) I ultimately tried setting Form.PaletteMode to vbCustom and leaving Form.Palette empty, but still Form.Picture didn't change.
Anybody can explain all this?
Thank you,
Dichelson
Re: Palette and PaletteMode properties
Re: Palette and PaletteMode properties
Thank you, I already had a look at that page, but it simply says what I expected those properties to be for. Actually, when I tried to use them, I found out what I said in the starting post, that is, there seems not to be a way to change the palette in practice. Of course, this is not much of a problem with today's true-color displays, but it can make a difference if you want to implement some special color changes...