Under Windows XP (using Delphi 5 Pro update pack 1), my menus look fine, until I set a value for the menu's Images property. Then the menu background, and the background of all the submenus etc, goes white. (Or maybe it's going clWindow. Can't tell.) This issue does not occur under Windows 98 SE.
The background "transparent" colour of the images in my TImageList is clFuschia (aka magenta). I have a related problem with this: the backgrounds do not go transparent; they continue to show as magenta. Under Win 98 SE however, the white colour does go transparent. (Maybe this is happening under XP as well; but since the background is white, I can't tell.) My images are 16x16, 16 colour, using what Windows assures me is the standard Windows 16-colour palette. -- Doug Burbidge mailto:doug@ultrazone.com
The background "transparent" colour of the images in my TImageList is clFuschia (aka magenta). I have a related problem with this: the backgrounds do not go transparent; they continue to show as magenta. Under Win 98 SE however, the white colour does go transparent. (Maybe this is happening under XP as well; but since the background is white, I can't tell.) My images are 16x16, 16 colour, using what Windows assures me is the standard Windows 16-colour palette. -- Doug Burbidge mailto:doug@ultrazone.com