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 6230247
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:42:44+00:00 2026-05-24T09:42:44+00:00

During long term operations our C++ Win32 application shows a modal status dialog with

  • 0

During long term operations our C++ Win32 application shows a modal status dialog with a process bar, which is updated irregular every few seconds or so. Starting with Windows 7 we realized that Windows quite soon shows a message ” seems to hang…” and/or appends “Not responding” to our window title bar.

We figured out that the process dialog must handle messages to avoid this. More specifically it seems that Windows 7 is constantly sending WM_UPDATE messages to check if our program is alive. We formerly had disabled all unneeded message handling in this dialog as profile runs shows that they were a major slow down.

But although we thought to have fixed that problem users are reporting such problems again: Windows shows ” seems to hang…” and/or appends “Not responding” to our window title bar, although we handle all events every few seconds.

Questions:

  • Is there any documentation about this change of behavior in Windows 7 (or Windows vista)? We haven’t found any. We also found a number of other changes of messaging behavior.

  • Is there possibly a way to disable all such “is alive” checks from windows? Our Application is pretty well alive and processes can take quite long.

EDIT: To be more specific – what we only do each few seconds is calling the message pump PeekMessage/TranslateMessage/DispatchMessage.

As this is a quite old legacy program, using a separate worker thread is not possible in the near future. We of course do that for new code. Please note also that my main point is that this behavior definitely changed with Windows vista / Windows 7. I have not found any documentation thereabout.

  • 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-24T09:42:44+00:00Added an answer on May 24, 2026 at 9:42 am

    Well, the direct answer to your question is that you can call DisableProcessWindowsGhosting().

    However, it would be much better to address the root of the problem rather than suppress the symptoms. Your window is being ghosted because you aren’t pumping the message queue. You aren’t doing that for the admirable reason that your application is busy doing work. The accepted way to do work and keep your queue pumped, is to do the work in a separate thread.

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

Sidebar

Related Questions

I am working on displaying a progress bar using JQuery during a long running
During our build process, we run sqlldr to populate our database with some sample
I'm looking for a generic method to implement a wait screen during long operations.
I find that my Flex application's UI becomes unresponsive during very long processing loops
I want to provide status updates during a long-running task on an ASP.NET WebForms
I'm trying to gauge the CPU utilization level during a long-running process. I suspect
During the work on my iPhone application the icon changed from time to time.
During the process of building software applications, you would start testing what you have
During my work on this database application, I've apparently managed to corrupt a form
During my routine work, i happened to write the chained javascript function which is

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.