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 on Menu Bar

Bitmap on Menu Bar

Scheduled Pinned Locked Moved C / C++ / MFC
graphicshelptutorialquestion
4 Posts 3 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.
  • D Offline
    D Offline
    DNFSB
    wrote on last edited by
    #1

    Hey all, I've got a dialog program with a menu. I want to add a bitmap on the actual menu bar, not in a drop down. I want it next to the items... Example: (BITMAP) File Edit View Help Is there anyway to do this, and if so, how? I've tried everything, but nothing is working. Thanks a lot. Dave

    M 1 Reply Last reply
    0
    • D DNFSB

      Hey all, I've got a dialog program with a menu. I want to add a bitmap on the actual menu bar, not in a drop down. I want it next to the items... Example: (BITMAP) File Edit View Help Is there anyway to do this, and if so, how? I've tried everything, but nothing is working. Thanks a lot. Dave

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      Insert an owner-drawn menu item in the first position, and make its state MF_GRAYED so it can't be clicked and it doesn't change color when the mouse is over it. --Mike-- LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ | You Are Dumb Strange things are afoot at the U+004B U+20DD

      B 1 Reply Last reply
      0
      • M Michael Dunn

        Insert an owner-drawn menu item in the first position, and make its state MF_GRAYED so it can't be clicked and it doesn't change color when the mouse is over it. --Mike-- LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ | You Are Dumb Strange things are afoot at the U+004B U+20DD

        B Offline
        B Offline
        bobi_zcl
        wrote on last edited by
        #3

        Mickael Dunn'advice is good.but I think there must be a method to do it by using member's function of menu class in MFC.you can refer to Microsoft Internet Explorer, bitmap lies of left of the items in "favourite" your friend:bobi

        D 1 Reply Last reply
        0
        • B bobi_zcl

          Mickael Dunn'advice is good.but I think there must be a method to do it by using member's function of menu class in MFC.you can refer to Microsoft Internet Explorer, bitmap lies of left of the items in "favourite" your friend:bobi

          D Offline
          D Offline
          DNFSB
          wrote on last edited by
          #4

          Hey. After posting this, I found modified the 'Real' bitmap on menu and capion bar in the articles section. Thanks tho Dave

          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