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. Mobile Development
  3. Mobile
  4. Can't disable level 2 menu item

Can't disable level 2 menu item

Scheduled Pinned Locked Moved Mobile
toolshelpquestion
2 Posts 1 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.
  • T Offline
    T Offline
    Travis101
    wrote on last edited by
    #1

    I am unable to disable a second level menu item. I have a Tools popup menu on my menubar that contains two items and a popup item that also contains two menu items. It looks like this: Tools |- Toggle Enable/Disable |- Item |- SubMenu -> |---- SubItem1 |---- SubItem2 I used ClassWizard to add the usual ON_UPDATE_COMMAND_UI functions. In the appropriate function, I can use "pCmdUI->Enable(FALSE)" to disable "Item", but I can't disable "SubItem1" and "SubItem2". Matter of fact, the functions that ClassWizard generated for my two sub menu items are never even called. I have breakpoints on both these function and they are never even hit. This bug occurs on both my emulator and on my Compaq iPaq (arm processor). I created the project with AppWizard and am using a "Basic MenuBar". Any ideas? Can anyone else disable a submenu item?

    T 1 Reply Last reply
    0
    • T Travis101

      I am unable to disable a second level menu item. I have a Tools popup menu on my menubar that contains two items and a popup item that also contains two menu items. It looks like this: Tools |- Toggle Enable/Disable |- Item |- SubMenu -> |---- SubItem1 |---- SubItem2 I used ClassWizard to add the usual ON_UPDATE_COMMAND_UI functions. In the appropriate function, I can use "pCmdUI->Enable(FALSE)" to disable "Item", but I can't disable "SubItem1" and "SubItem2". Matter of fact, the functions that ClassWizard generated for my two sub menu items are never even called. I have breakpoints on both these function and they are never even hit. This bug occurs on both my emulator and on my Compaq iPaq (arm processor). I created the project with AppWizard and am using a "Basic MenuBar". Any ideas? Can anyone else disable a submenu item?

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

      After reporting this issue to Microsoft's tech support, they acknowledged that this was a bug in Pocket PC 2002.

      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