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. The Lounge
  3. How Do You Implement An "Actions" Menu Similar To MS Outlook

How Do You Implement An "Actions" Menu Similar To MS Outlook

Scheduled Pinned Locked Moved The Lounge
comtutorialquestion
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.
  • G Offline
    G Offline
    Gaul
    wrote on last edited by
    #1

    What is the best way to go about implementing an dynamic "Actions", similar to what you have in MS Outlook, from within a composite control or plain COM object. I have several menus, each specific to a particular composite control. I would like to be able to dynamically insert/remove an "Actions" menu specific to a given context when a particular composite control is created or invoked. I know how to use "CreatePopMenu" etc, and understand the basics, but what I have succeeded in creating is not working anywhere close to what you have in Outlook (which is what I would like). Any suggestions or code examples would be appreciated. Gaul

    L 1 Reply Last reply
    0
    • G Gaul

      What is the best way to go about implementing an dynamic "Actions", similar to what you have in MS Outlook, from within a composite control or plain COM object. I have several menus, each specific to a particular composite control. I would like to be able to dynamically insert/remove an "Actions" menu specific to a given context when a particular composite control is created or invoked. I know how to use "CreatePopMenu" etc, and understand the basics, but what I have succeeded in creating is not working anywhere close to what you have in Outlook (which is what I would like). Any suggestions or code examples would be appreciated. Gaul

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      what about WM_CONTEXTMENU()! It is triggered when right clicked on any control which itself is a window already! :) Just add the message handler and connect it to your own menu created in the resource editor.

      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