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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. bitmap menu

bitmap menu

Scheduled Pinned Locked Moved C / C++ / MFC
questiongraphicshelp
2 Posts 2 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.
  • V Offline
    V Offline
    vgkotha
    wrote on last edited by
    #1

    how can i enlarge bitmap size on menu? i am trying byusing below code. but i am not getting . please help me to solve this task. m->LoadMenu(IDR_MENU1); m->CreatePopupMenu(); cbmp.LoadBitmap(IDB_BITMAP1); m->InsertMenu(0,MF_BYPOSITION | MF_STRING,100,"&Connect \t CTRL+C"); m->SetMenuItemBitmaps(0,MF_BYPOSITION | MF_BITMAP,&cbmp,&cbmp); dbmp.LoadBitmap(IDB_BITMAP2); m->InsertMenu(1,MF_BYPOSITION | MF_STRING,100,"&Disonnect\t CTRL+D"); m->SetMenuItemBitmaps(1,MF_BYPOSITION,&dbmp,&dbmp); SetMenu(m); thanks alot for your help

    T 1 Reply Last reply
    0
    • V vgkotha

      how can i enlarge bitmap size on menu? i am trying byusing below code. but i am not getting . please help me to solve this task. m->LoadMenu(IDR_MENU1); m->CreatePopupMenu(); cbmp.LoadBitmap(IDB_BITMAP1); m->InsertMenu(0,MF_BYPOSITION | MF_STRING,100,"&Connect \t CTRL+C"); m->SetMenuItemBitmaps(0,MF_BYPOSITION | MF_BITMAP,&cbmp,&cbmp); dbmp.LoadBitmap(IDB_BITMAP2); m->InsertMenu(1,MF_BYPOSITION | MF_STRING,100,"&Disonnect\t CTRL+D"); m->SetMenuItemBitmaps(1,MF_BYPOSITION,&dbmp,&dbmp); SetMenu(m); thanks alot for your help

      T Offline
      T Offline
      TPN
      wrote on last edited by
      #2

      Try to use owner-draw menu. There a lots of this stuff at code www.project.com or www.codeguru.com

      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