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. MfcMenuButton

MfcMenuButton

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialhelp
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.
  • A Offline
    A Offline
    aangerma
    wrote on last edited by
    #1

    Hello, I need help in using MfcMenuButton, I added such a button to my project, but I can't find how to add the menu to this button ,if somebody know how doing it and can write me the way to do it step by step ,I will vary appreciate it. thanks

    J 1 Reply Last reply
    0
    • A aangerma

      Hello, I need help in using MfcMenuButton, I added such a button to my project, but I can't find how to add the menu to this button ,if somebody know how doing it and can write me the way to do it step by step ,I will vary appreciate it. thanks

      J Offline
      J Offline
      jk chan
      wrote on last edited by
      #2

      CMFCMenuButton bt; //..... bt.Create( _T("Click me"),WS_CHILD | WS_VISIBLE,CRect(100,100,170,130),this,ID_BTN ) // do something // Load menu from resource using CMenu . bt.m_hMenu = m_YourMenuHandle. http://msdn.microsoft.com/en-us/library/bb983215.aspx[^]

      If u can Dream... U can do it

      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