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...

Hide and Show Dialog...

Scheduled Pinned Locked Moved C / C++ / MFC
tutorial
5 Posts 3 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
    Manjunath S
    wrote on last edited by
    #1

    Dear all, Im my application when i cilck a music button , it has to pop up a window with a music file list selected to play and a option to add the othe files in to this list. and whenever i click the music button again it has to hide... How to show a dialog and hide with the main dialog active always...

    Manjunath S

    R 1 Reply Last reply
    0
    • M Manjunath S

      Dear all, Im my application when i cilck a music button , it has to pop up a window with a music file list selected to play and a option to add the othe files in to this list. and whenever i click the music button again it has to hide... How to show a dialog and hide with the main dialog active always...

      Manjunath S

      R Offline
      R Offline
      Rajesh R Subramanian
      wrote on last edited by
      #2

      Manjunath S wrote:

      Im my application when i cilck a music button , it has to pop up a window with a music file list selected to play and a option to add the othe files in to this list. and whenever i click the music button again it has to hide...

      Probably the CHideAndSeek() class should help? Seriously though, what is your requirement?

      Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

      M 1 Reply Last reply
      0
      • R Rajesh R Subramanian

        Manjunath S wrote:

        Im my application when i cilck a music button , it has to pop up a window with a music file list selected to play and a option to add the othe files in to this list. and whenever i click the music button again it has to hide...

        Probably the CHideAndSeek() class should help? Seriously though, what is your requirement?

        Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

        M Offline
        M Offline
        Manjunath S
        wrote on last edited by
        #3

        Actual i have to design a dialog similarly as the equavalizer window that comes in winamp,(whenever we press a arrow it opens and whenever we press a arrow again it hides)...

        Manjunath S GESL Bangalore

        R M 2 Replies Last reply
        0
        • M Manjunath S

          Actual i have to design a dialog similarly as the equavalizer window that comes in winamp,(whenever we press a arrow it opens and whenever we press a arrow again it hides)...

          Manjunath S GESL Bangalore

          R Offline
          R Offline
          Rajesh R Subramanian
          wrote on last edited by
          #4

          Will the ShowWindow() API help you?

          Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

          1 Reply Last reply
          0
          • M Manjunath S

            Actual i have to design a dialog similarly as the equavalizer window that comes in winamp,(whenever we press a arrow it opens and whenever we press a arrow again it hides)...

            Manjunath S GESL Bangalore

            M Offline
            M Offline
            Maximilien
            wrote on last edited by
            #5

            Use a combination of SetWindowPos and/or MoveWindow to grow/shrink said window; thus show or hiding a portion of the dialog.

            Maximilien Lincourt Your Head A Splode - Strong Bad

            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