PictureBox control and Windows themes

Wingenious

New member
Joined
Dec 6, 2008
Messages
4
Programming Experience
10+
I have a form with a PictureBox control. The image displays correctly under the Windows Classic theme. The image displays incorrectly under the Windows XP theme. The Windows XP theme appears to change white pixels to the "Control" color. This behavior happens whether the image is gif, jpg, or bmp. Changing the background color of the control to white has no effect. It seems sensible to change themes and have colors of system elements be affected, but it does not seem sensible to have colors of application images be affected. Is there a way to avoid this behavior with the PictureBox control?
 
Back
Top