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. Hiding application menu at runtime??

Hiding application menu at runtime??

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
6 Posts 4 Posters 4 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.
  • K Offline
    K Offline
    Kiran Satish
    wrote on last edited by
    #1

    Hello, Is there a way to hide applicaiton menu at runtime? I would like to hide the menu once everything is loaded and once the application starts running. The application is written in vc++ 6.0 and the window is created using CreateWindowEx, I tried different dlg_styles options to hide it, but it still shows the menu. Any suggestions?? thanks,

    PKNT

    S 1 Reply Last reply
    0
    • K Kiran Satish

      Hello, Is there a way to hide applicaiton menu at runtime? I would like to hide the menu once everything is loaded and once the application starts running. The application is written in vc++ 6.0 and the window is created using CreateWindowEx, I tried different dlg_styles options to hide it, but it still shows the menu. Any suggestions?? thanks,

      PKNT

      S Offline
      S Offline
      Selvam R
      wrote on last edited by
      #2

      create window with one menu and use ShowWindow function for hide the window.

      Thanks and Regards, Selvam, http://www.wincpp.com

      K 1 Reply Last reply
      0
      • S Selvam R

        create window with one menu and use ShowWindow function for hide the window.

        Thanks and Regards, Selvam, http://www.wincpp.com

        K Offline
        K Offline
        Kiran Satish
        wrote on last edited by
        #3

        I would like to hide the menu only not the whole application window(thats easy as you said using showwindow function). thanks though

        PKNT

        S 1 Reply Last reply
        0
        • K Kiran Satish

          I would like to hide the menu only not the whole application window(thats easy as you said using showwindow function). thanks though

          PKNT

          S Offline
          S Offline
          Selvam R
          wrote on last edited by
          #4

          I don't find any direct function support from windows programming. We may use MENUINFO Structure for change style( ex, MNS_AUTODISMISS, mask MIM_BACKGROUND).

          Thanks and Regards, Selvam, http://www.wincpp.com

          modified on Thursday, September 10, 2009 1:31 AM

          L 1 Reply Last reply
          0
          • S Selvam R

            I don't find any direct function support from windows programming. We may use MENUINFO Structure for change style( ex, MNS_AUTODISMISS, mask MIM_BACKGROUND).

            Thanks and Regards, Selvam, http://www.wincpp.com

            modified on Thursday, September 10, 2009 1:31 AM

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

            > I don't find any direct function support from windows programming ????? 1 line of code, first page of MSDN Win32 menu api list !!!

            D 1 Reply Last reply
            0
            • L Lost User

              > I don't find any direct function support from windows programming ????? 1 line of code, first page of MSDN Win32 menu api list !!!

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

              I've seen $3 bills that had more value than your response. :rolleyes:

              "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

              "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

              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