Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. icons on menus .. in VB6

icons on menus .. in VB6

Scheduled Pinned Locked Moved Visual Basic
graphicsjsontutorialquestion
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    giddy_guitarist
    wrote on last edited by
    #1

    Hie , ok i know that one must use the SetMenuItemBitmaps API to add a bitmap on a menu.. .BUT.. it is limited ONLY to a about a 13 X 13 pic.THe icons kinda get clipped if they're bigger.. BUT I know it is possible to hav a SLIGHTLY bigger icon on a menu.There are so many apps with about a 16*16 icon. Infact the min. size SHOULD be about 16 X 16. Does anyone know how to do that?? ... perhaps.. by using BitBlt:confused: Thanx Gideon

    G 1 Reply Last reply
    0
    • G giddy_guitarist

      Hie , ok i know that one must use the SetMenuItemBitmaps API to add a bitmap on a menu.. .BUT.. it is limited ONLY to a about a 13 X 13 pic.THe icons kinda get clipped if they're bigger.. BUT I know it is possible to hav a SLIGHTLY bigger icon on a menu.There are so many apps with about a 16*16 icon. Infact the min. size SHOULD be about 16 X 16. Does anyone know how to do that?? ... perhaps.. by using BitBlt:confused: Thanx Gideon

      G Offline
      G Offline
      giddy_guitarist
      wrote on last edited by
      #2

      hie, thanx for nothing.. i found out myself;P... you use the LoadImage API.. and specify 16 *16 in the size params and the icon resizes ... !... ALSO.. thanx to some1 on another forum.. i found out although loadImage loads from a file , YOU CAN specify a resource ID .. instead of a .ico file..BUT this will not work in the IDE. :-> hope that helped!:-D

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups