bitmap with same color controls
Posted on 2004-04-08
I have a bitmap of a block diagram on a form which has a grey background. Placed on top of the bitmap are check boxes, comboboxes, labels, and other controls.
The problem I'm having is when the program is loaded on other computers with different color settings. The clBtnface color is a different shade of grey. Which makes the form look really cheesey.
I have tried saving the bitmap with different color levels, i.e. 16, 256, 24Bit. The setting needs to be the same as the computer your using at the time to come close to matching the colors.
What is the common way to do somthing like this. Use a GIF with transparent backgound? Set a constant and assign the color I need for each control? If this is the answer then do I assign the color in the form.create procedure? Will it accept a color thats not in the property list?
Hope this makes sense.