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. "Please Wait..." Dialog

"Please Wait..." Dialog

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

    Hi, I want to display a simple dialog that displays "Please Wait..." while a task is performed then goes away by itself when the task is complete. What's the simplest way to do this? Thanks, Ali

    T J F 3 Replies Last reply
    0
    • L LittleYellowBird

      Hi, I want to display a simple dialog that displays "Please Wait..." while a task is performed then goes away by itself when the task is complete. What's the simplest way to do this? Thanks, Ali

      T Offline
      T Offline
      toxcct
      wrote on last edited by
      #2

      when the task ends, just send a WM_CLOSE to the window displaying the "please wait..."


      TOXCCT >>> GEII power
      [VisualCalc]

      1 Reply Last reply
      0
      • L LittleYellowBird

        Hi, I want to display a simple dialog that displays "Please Wait..." while a task is performed then goes away by itself when the task is complete. What's the simplest way to do this? Thanks, Ali

        J Offline
        J Offline
        Jack Puppy
        wrote on last edited by
        #3

        In VC++ 6, there's an add-in to insert a progress dialog box. (not sure about vc++7) Once inserted, you could strip out the progress controls/code, and use the default static control for your "Please wait..." message.

        :cool: Pssst. You see that little light on your monitor? That's actually a government installed spy camera. Smile and wave to big brother!

        1 Reply Last reply
        0
        • L LittleYellowBird

          Hi, I want to display a simple dialog that displays "Please Wait..." while a task is performed then goes away by itself when the task is complete. What's the simplest way to do this? Thanks, Ali

          F Offline
          F Offline
          faroqtam
          wrote on last edited by
          #4

          Hi You can use CStatic Class to show "please wait..." message. if u wanted to know when task ended u can use Threads API functions or MFC threads functions as AfxBeginThread(threadfun,hwnd,threadpriority) , then create thread and Use WaitForSingleObject(....) API function to determine when your task ended . if u need more help contact me on faroq_tam2004@yahoo.com. If this dos'nt help u im sorry. Bye. On Earth nothing impossible, while your mind running. Faroqtam

          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