White colour on icon
Posted on 2003-11-28
I have an 8-colour 32 x 32 icon (.ico file), which I use throughout my program for its logo. When it is displayed full-size in either Windows Explorer or in a TImage component, white parts on the image are displayed in white as expected. However, when the icon is displayed half-size, such as when used as an icon in the form and appears on the taskbar, the white appears transparent, so grey (Window's background colour) shows up instead of white for those areas.
So why is it that when displayed full-size, white is correctly displayed but when it is half-size, white is transparent and appears grey? I'd prefer it if the white areas on the image always appear white or at least be consistent when displayed in different sizes.
I'm using Windows '98 SE and Delphi 4 Pro.
Thanks in Advance,