|
-
Jul 27th, 1999, 03:18 AM
#1
Thread Starter
New Member
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
-
Aug 1st, 1999, 06:02 PM
#2
Member
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
-
Aug 2nd, 1999, 12:37 AM
#3
Junior Member
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.
-
Aug 2nd, 1999, 02:14 AM
#4
Thread Starter
New Member
i'm getting VB6.0
i found a control, thanks for your help
-
Aug 9th, 1999, 03:53 PM
#5
Addicted Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|