|
-
Oct 19th, 2008, 08:00 PM
#1
Thread Starter
Addicted Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|