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. Problems with a trayicon popup menu

Problems with a trayicon popup menu

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorial
4 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.
  • 4 Offline
    4 Offline
    4288
    wrote on last edited by
    #1

    Hi all! I used the Chris Maunder's Systray code to implement a systray with a popup menu, but i can't figure how to set a subitem checked! I used the SetMenuItemChecked but it failed!! I cant go on with this!! And i can't use Chris' classes with these stuffs too because they are for Mfc projects (mine is not mfc) !! HELP ME PLEASE!!! :(:( ---

    O 1 Reply Last reply
    0
    • 4 4288

      Hi all! I used the Chris Maunder's Systray code to implement a systray with a popup menu, but i can't figure how to set a subitem checked! I used the SetMenuItemChecked but it failed!! I cant go on with this!! And i can't use Chris' classes with these stuffs too because they are for Mfc projects (mine is not mfc) !! HELP ME PLEASE!!! :(:( ---

      O Offline
      O Offline
      Owner drawn
      wrote on last edited by
      #2

      You need to handle UPDATE_COMMAND_UI for that particular menu item.

      Jesus Loves:rose:

      --Owner Drawn:rose: --Defeat is temporary but surrender is permanent --Jesus is Lord:rose:

      4 1 Reply Last reply
      0
      • O Owner drawn

        You need to handle UPDATE_COMMAND_UI for that particular menu item.

        Jesus Loves:rose:

        --Owner Drawn:rose: --Defeat is temporary but surrender is permanent --Jesus is Lord:rose:

        4 Offline
        4 Offline
        4288
        wrote on last edited by
        #3

        You mean putting ON_UPDATE_COMMAND_UI as a switched case of the main dialog msg? Like this? case WM_INITDIALOG: { .... break; } case ON_UPDATE_COMMAND_UI: { //What to do here?? break; } ---

        O 1 Reply Last reply
        0
        • 4 4288

          You mean putting ON_UPDATE_COMMAND_UI as a switched case of the main dialog msg? Like this? case WM_INITDIALOG: { .... break; } case ON_UPDATE_COMMAND_UI: { //What to do here?? break; } ---

          O Offline
          O Offline
          Owner drawn
          wrote on last edited by
          #4

          Now I am confused. I don't know whether ON_UPDATE_COMMAND_UI exists in platform sdk. But if you are able to solve please tell me. Thanks:-D

          Jesus Loves:rose:

          --Owner Drawn:rose: --Defeat is temporary but surrender is permanent --Jesus is Lord:rose:

          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