Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 509525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T07:01:11+00:00 2026-05-13T07:01:11+00:00

I want to pop up a window to show that a program is busy

  • 0

I want to pop up a window to show that a program is busy with a particular time consuming task. But I don’t want any buttons on it. I just want to pop it up, do the task, then remove it. I’m not sure what such a window is called and so don’t know what to search for in MSDN etc. Is there some ready made API for this kind of thing or do I need to cook my own?

EDIT: In answer to some comments…

I’m not using MFC.

The program is for my own use – the answer does not have to look pretty.

The reason I don’t just rely on the hourglass is that the hourglass only shows when the cursor is on top of the applications small window, and I work on a system with four very large monitors and the cursor is often not on the window in question.. If I don’t see an hourglass then my program looks like its crashed. Its quite disturbing. I work on this program continuously as my job, and have done so for many years. The operation that takes a long time is performed only occasionally, I may go months without using it. So if it locks up doing this task I’m worried that I will have forgotten that its just busy and assume there’s some bug and go on a wild goose chase trying to fix a problem that does not exist.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T07:01:11+00:00Added an answer on May 13, 2026 at 7:01 am

    This is actually a more profound question than simply dialogs. If you are engaging in work which may take a long time, then you don’t want it on the main thread. On Windows versions prior to Vista, the Window won’t paint – you end up with “white window” syndrome, which is very ugly. Far better to create a worker (non-ui) thread and have it post a message back to the main window when it’s done. Obviously you have to have some sort of timeout in case it never finishes. If you do it this way, then the “dialog” problem becomes an issue of simply putting up a window and pulling it down again when the thread sends you its “done” message. You can try looking at the MSDN documentation for “modeless dialog”, a dialog which can you can create and destroy at will (remember to disable the main window). There are some nits with implementing this in MFC, but you don’t say whether you’re using that or not.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to show a modal dialog/pop-up window when the user has not filled
I want to show survey in pop-up window when users leaves page. So I
I want to show a html pop-up window, onChange from an input text to
How to create the pop up window using LWUIT? I want to show an
i am creating a pop-up window and i want to show the contents of
I have a script that I want to pop a window after 5 page
I want to pop up a dialog box that says Saving... and once the
I don't want a pop up, I want an actual Facebook like button, has
I want to show pop up of question with it's options. Each question have
hii I want show a pop up Dialog box when i click on to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.