Results 1 to 5 of 5

Thread: Menu icons, why so glum?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 1999
    Posts
    4

    Post

    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

  2. #2
    Member
    Join Date
    Jun 1999
    Location
    Singapore
    Posts
    32

    Post

    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

  3. #3
    Junior Member
    Join Date
    Jan 1999
    Posts
    30

    Post

    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.

  4. #4

    Thread Starter
    New Member
    Join Date
    Jul 1999
    Posts
    4

    Post

    i'm getting VB6.0

    i found a control, thanks for your help

  5. #5
    Addicted Member
    Join Date
    Aug 1999
    Location
    Ilirska Bistrica, Slovenia
    Posts
    242

    Post

    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
  •  



Click Here to Expand Forum to Full Width