menuitem bitmap problems



A menu item, named "Language", includes several languages sub-menu items,
each one with a bitmap of a corresponding flag; e.g. Danish has a Danish
flag to the left, using the TBitmap property of the tmenuitem component.

The problem is, some flags don't show up correctly, while slightly more than
half do. For example, the top two strips of the German flag appear
correctly, but the bottom strip is just white - even though the BMP file
shows the correct colors for the 3 strips.

To get these flags, I've taken larger flags BMPs, resized them to
approximately 26 x 13 pixels, and saved them to another BMP file. In Delphi
5 I click the Bitmap property's ellipsis to open the Picture Editor. Then,
click Load, find the flag BMP file, and click OK. It shows up correctly in
the Picture Editor window. When I click OK on the Picture Editor window,
something happens to the BMP. It doesn't appear correctly in the menu item.

I believe that some processing of the BMP must be taking place. For
example, I know you can provide a large BMP to the Picture Editor and it
will automatically resize the picture so that it will look reasonable (most
of the time) to the left of the caption on the menu item.

Is there someway I can edit the BMP so that the Picture Editor will not edit
my BMP, and screw it up? Is there another solution to this problem?


.



Relevant Pages

  • climate of pervasive hostility toward anything Muslim in Denmark
    ... Capture the Flag ... THERE seems to be some surprise that the Danish people and their ... There are more than 200,000 Muslims in Denmark, a country with a ... there are no Muslim cemeteries in ...
    (soc.culture.baltics)
  • Re: Flag desecration?
    ... Orders for the Danish national red and white flag began flooding in to ... Swansea-based business Mr Flag as soon as the Prophet Muhammad ... protesters could be splashed by flying pieces of burning material. ... Mr Flag, one of the UK's few flagmakers, has cultivated a global market ...
    (sci.electronics.design)
  • Re: climate of pervasive hostility toward anything Muslim in Denmark
    ... Capture the Flag ... THERE seems to be some surprise that the Danish people and their ... State Department - relative to this ...
    (soc.culture.baltics)