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. Hide and show Dialog Application

Hide and show Dialog Application

Scheduled Pinned Locked Moved C / C++ / MFC
question
7 Posts 5 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.
  • M Offline
    M Offline
    MsmVc
    wrote on last edited by
    #1

    Hi All How can hide and show dailog Application?I have a button Hide and i am useing code for hide is ShowWindow( SW_HIDE ); Now i want to open this application again then new application is open and i want to open hide application.Or i want to show hide application. Plz elp me:rose:

    S R S D 4 Replies Last reply
    0
    • M MsmVc

      Hi All How can hide and show dailog Application?I have a button Hide and i am useing code for hide is ShowWindow( SW_HIDE ); Now i want to open this application again then new application is open and i want to open hide application.Or i want to show hide application. Plz elp me:rose:

      S Offline
      S Offline
      sashoalm
      wrote on last edited by
      #2

      http://www.codeproject.com/KB/cs/singleinstanceapplication.aspx[^]

      There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition. Blaise Pascal

      M 1 Reply Last reply
      0
      • M MsmVc

        Hi All How can hide and show dailog Application?I have a button Hide and i am useing code for hide is ShowWindow( SW_HIDE ); Now i want to open this application again then new application is open and i want to open hide application.Or i want to show hide application. Plz elp me:rose:

        R Offline
        R Offline
        Rajkumar R
        wrote on last edited by
        #3

        Also Leave some thing to user to unhide the application like [System Tray Icon^]

        1 Reply Last reply
        0
        • S sashoalm

          http://www.codeproject.com/KB/cs/singleinstanceapplication.aspx[^]

          There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition. Blaise Pascal

          M Offline
          M Offline
          MsmVc
          wrote on last edited by
          #4

          Thanks for reply But i don't want to show in system tray.My application is run in hidden mode and exe is showing on desktop.when user click on that exe then that hidden application will be show.Plz help me

          S 1 Reply Last reply
          0
          • M MsmVc

            Hi All How can hide and show dailog Application?I have a button Hide and i am useing code for hide is ShowWindow( SW_HIDE ); Now i want to open this application again then new application is open and i want to open hide application.Or i want to show hide application. Plz elp me:rose:

            S Offline
            S Offline
            Saurabh Garg
            wrote on last edited by
            #5

            When you run an instance of your exe, first you can check if another instance is running. If it is then make old instance visible and exit from the new instance. Saurabh

            1 Reply Last reply
            0
            • M MsmVc

              Thanks for reply But i don't want to show in system tray.My application is run in hidden mode and exe is showing on desktop.when user click on that exe then that hidden application will be show.Plz help me

              S Offline
              S Offline
              sashoalm
              wrote on last edited by
              #6

              The article contains exactly that info too, in addition to the system tray stuff. Skip the parts about the system tray and read how to make a single instance program.

              There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition. Blaise Pascal

              1 Reply Last reply
              0
              • M MsmVc

                Hi All How can hide and show dailog Application?I have a button Hide and i am useing code for hide is ShowWindow( SW_HIDE ); Now i want to open this application again then new application is open and i want to open hide application.Or i want to show hide application. Plz elp me:rose:

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

                Are you looking for something like this?

                "Love people and use things, not love things and use people." - Unknown

                "The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch

                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