Re: SetMenuItemBitmaps (Menu icons)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Indeed the createDIB is broken and I fixed the most obvious error (4
bit-compression, see my previous post on 2 April). However it still doesn't
work when I load the the bitmap with loadBitmapFromFile, which doesn't use
the createDIB-function at all.

> Welkom Martin,
>
> In the documentation for createDIB I read that the code is broken
> and needs to be fixed, or similar words. Is that right, David?
>
>> Hi,
>>
>> When I try to add a menu-icon to the left of a menuitem (just like in
e.g.
>> MS Word) it seems that the color white is supposed to be the transparent
>> color. However in the bitmap for my 'new-document' menuitem I want it to
be
>> white and not transparent. Does anybody know how I can get the color
white
>> in menuitem-bitmaps?
>>
>> The source attached is supposed to show the same picture next to the
>> 'New'-menuitem as the picture next to the 'New'-menuitem in MS Word.
However
>> the white part of the MS-bitmap is showed transparent.
>>
>>
>> Sincerely,
>>
>> Martin Schut

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu