PDA

Click to See Complete Forum and Search --> : Menu icons, why so glum?


Dizfunctional
Jul 27th, 1999, 03:18 AM
I tried the example listed here to put icons in menus but i noticed that the icons are darker then the original picture. Its very anoying! Plaese if you how to fix this help me out!

-the example page http://www.vb-world.net/tips/tip64.html

atjs
Aug 1st, 1999, 06:02 PM
I believe the reason why the icons seem darker is that the API copies the bitmap onto the menu using 16 colour or 256 colour mode (I'm not sure which). This may cause your high-colour bitmap to 'lose colour'. If this is so, a method is to edit the palette of your picture to fit into 16 colours, or 256 colours.

Just a suggestion

DrBrain
Aug 2nd, 1999, 12:37 AM
No it has nothing to do with the palette. The pictures is meant to be Black and White. The white will be transparent and the black will be to color of the menu font.

I don't know how to get multiply colorbitmaps into menus without the colors beeing a bit strange.

Dizfunctional
Aug 2nd, 1999, 02:14 AM
i'm getting VB6.0

i found a control, thanks for your help

Zvonko
Aug 9th, 1999, 03:53 PM
The icons in menus are so dark, because you used just API calls.
Go to http://www.vbthunder.com, then you go to Source Code section and to Menu section and there is example "Owner-drawn Menu". Click on it and copy the Code to VB (you have to have at least VB5). More details are with the code.
Hope, I was helpful.