Results 1 to 4 of 4

Thread: Some thing is Wrong

  1. #1

    Thread Starter
    Fanatic Member khalik_ash's Avatar
    Join Date
    Aug 2002
    Location
    Singapore
    Posts
    724

    Thumbs up Some thing is Wrong

    i am adding Icons to my menu... but i am not satsifed by the look
    the icon size is 16 but still does'nt fit some thign to do with size can i change the size of the menu....

    check the attach
    Attached Images Attached Images  

  2. #2
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Bellevue, WA, USA
    Posts
    1,357
    I had this problem before too, and I actually had to resize all my icons to 13x14 pixels for them to fully show up. I think it may be because the VB menu was only made to hold the image of a check, but I could be wrong.

    I would also be interested to know if there is a way to hold 16x16 icons in the VB menus.
    ~seaweed

  3. #3

    Thread Starter
    Fanatic Member khalik_ash's Avatar
    Join Date
    Aug 2002
    Location
    Singapore
    Posts
    724
    at last thanks a lot seaweed

    i felt the same.. but was not sure with the size.....
    i dont think there is other way of fix the 16X16 icons...

  4. #4
    The picture isn't missing BuggyProgrammer's Avatar
    Join Date
    Oct 2000
    Location
    Vancouver, Canada
    Posts
    5,217
    yes there is. like seaweed said the bitmap property of the menu was only meant for custom checkboxes, not menu icons. you would need to owner drawn your own menu to achieve the affect like how most programs that have icons in menus do. you could also use a control to do it. http://www.vbaccelerator.com/home/VB...LL/article.asp

    if you would like to draw it yourself (using subclassing, api's) then search on pscode.com there are a few samples, also here: http://www.vbthunder.com/default.asp?srcget=9 is where I learned menus drawing..
    Remember, if someone's post was not helpful, you can always rate their post negatively .

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