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. solve this one

solve this one

Scheduled Pinned Locked Moved C / C++ / MFC
tutorial
4 Posts 4 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.
  • Y Offline
    Y Offline
    yogendra kaushik
    wrote on last edited by
    #1

    i hav three dialog boxes third dialog box contain menu i want that when i goto third dialog box from first dialog box then its menu are disabled but when i go from second dialog box third dialog box menues are not disabled. plz send me code how to do it Please mail me

    D K R 3 Replies Last reply
    0
    • Y yogendra kaushik

      i hav three dialog boxes third dialog box contain menu i want that when i goto third dialog box from first dialog box then its menu are disabled but when i go from second dialog box third dialog box menues are not disabled. plz send me code how to do it Please mail me

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Which of the dialogs are modal and which are modeless?


      "The largest fire starts but with the smallest spark." - David Crow

      "Judge not by the eye but by the heart." - Native American Proverb

      1 Reply Last reply
      0
      • Y yogendra kaushik

        i hav three dialog boxes third dialog box contain menu i want that when i goto third dialog box from first dialog box then its menu are disabled but when i go from second dialog box third dialog box menues are not disabled. plz send me code how to do it Please mail me

        K Offline
        K Offline
        Kenneth Ballard
        wrote on last edited by
        #3

        Simple. Use a boolean flag, call it bRemoveMenu, and set it to false by default. Then when the dialog is launched from the third dialog box, call SetMenu(NULL). That will clear the menu from the dialog box, giving you a window without a menu. It's easier than traversing through the menu disabling each option.

        1 Reply Last reply
        0
        • Y yogendra kaushik

          i hav three dialog boxes third dialog box contain menu i want that when i goto third dialog box from first dialog box then its menu are disabled but when i go from second dialog box third dialog box menues are not disabled. plz send me code how to do it Please mail me

          R Offline
          R Offline
          Rick York
          wrote on last edited by
          #4

          Using the word "plz" just drips with sincerity. I so want to help people who use it. :cool:

          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