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

Close Dialog

Scheduled Pinned Locked Moved C / C++ / MFC
c++
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.
  • M Offline
    M Offline
    Manjunath S
    wrote on last edited by
    #1

    Dear all, I have MFC application Which As button named Download file ,which pop up a user dialog named "file download". which provides buttons to browse file and start downloading the selected file. When i press download button it call a dll function to perform the download operation and waits for download to complete.what i need is to close the dialogbox(named file download)whenever the file download completed messagebox pop up . Manjunath S GESL Bangalore

    V D H 3 Replies Last reply
    0
    • M Manjunath S

      Dear all, I have MFC application Which As button named Download file ,which pop up a user dialog named "file download". which provides buttons to browse file and start downloading the selected file. When i press download button it call a dll function to perform the download operation and waits for download to complete.what i need is to close the dialogbox(named file download)whenever the file download completed messagebox pop up . Manjunath S GESL Bangalore

      V Offline
      V Offline
      valikac
      wrote on last edited by
      #2

      EndDialog Kuphryn

      1 Reply Last reply
      0
      • M Manjunath S

        Dear all, I have MFC application Which As button named Download file ,which pop up a user dialog named "file download". which provides buttons to browse file and start downloading the selected file. When i press download button it call a dll function to perform the download operation and waits for download to complete.what i need is to close the dialogbox(named file download)whenever the file download completed messagebox pop up . Manjunath S GESL Bangalore

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

        If it's a modal dialog, call EndDialog(). If it's modeless, call DestroyWindow().


        "Money talks. When my money starts to talk, I get a bill to shut it up." - Frank

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

        1 Reply Last reply
        0
        • M Manjunath S

          Dear all, I have MFC application Which As button named Download file ,which pop up a user dialog named "file download". which provides buttons to browse file and start downloading the selected file. When i press download button it call a dll function to perform the download operation and waits for download to complete.what i need is to close the dialogbox(named file download)whenever the file download completed messagebox pop up . Manjunath S GESL Bangalore

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          and you can se WM_DESTROY_**


          **_

          whitesky


          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