Re: menuitem bitmap problems
- From: "Bob Richardson" <bobr at whidbey dot com>
- Date: Sat, 25 Nov 2006 17:31:33 -0800
Thanks Alan. Yes 16x16 seems to be the best, but it works reasonably well
so long as the H x W are equal.
<alanglloyd@xxxxxxx> wrote in message
news:1164490989.265150.141740@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Nov 25, 8:18pm, "Bob Richardson" <bobr at whidbey dot com> wrote:
<snip>
To get these flags, I've taken larger flags BMPs, resized them to<snip>
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 think the bitmaps may have to be 16 x 16. You may be able to use a
bigger bitmap if you use owner-draw of the menu-item. Or you might be
able to use a larger bitmap if you place it with an API call and
enuItemInfo structure.
Try a 16 x 16 bitmap to see if that solves it.
Alan Lloyd
.
- References:
- menuitem bitmap problems
- From: Bob Richardson
- Re: menuitem bitmap problems
- From: alanglloyd@xxxxxxx
- menuitem bitmap problems
- Prev by Date: Re: BDS.exe crashes
- Next by Date: Turkish character set
- Previous by thread: Re: menuitem bitmap problems
- Next by thread: Turkish character set
- Index(es):
Relevant Pages
|