How to deal with Ghost windows in XP System?
-
Anyone knows how to deal with ghost windows in XP? How to get rid of the ghost windows in windows XP system with Platform SDK? Thanks. Windows XP: If a top-level window stops responding to messages for more than several seconds, the system considers the window to be hung and replaces it with a ghost window that has the same Z order, location, size, and visual attributes. This allows the user to move it, resize it, or even close the application. However, these are the only actions available because the application is actually hung. When in the debugger mode, the system does not generate a ghost window. reference from MSDN. :confused:
-
Anyone knows how to deal with ghost windows in XP? How to get rid of the ghost windows in windows XP system with Platform SDK? Thanks. Windows XP: If a top-level window stops responding to messages for more than several seconds, the system considers the window to be hung and replaces it with a ghost window that has the same Z order, location, size, and visual attributes. This allows the user to move it, resize it, or even close the application. However, these are the only actions available because the application is actually hung. When in the debugger mode, the system does not generate a ghost window. reference from MSDN. :confused:
How do you mean deal with them? As far as I'm aware it is a system level thing and not a lot can be done to remove the functionality. Michael :-) Logic, my dear Zoe, merely enables one to be wrong with authority. - The Doctor
-
Anyone knows how to deal with ghost windows in XP? How to get rid of the ghost windows in windows XP system with Platform SDK? Thanks. Windows XP: If a top-level window stops responding to messages for more than several seconds, the system considers the window to be hung and replaces it with a ghost window that has the same Z order, location, size, and visual attributes. This allows the user to move it, resize it, or even close the application. However, these are the only actions available because the application is actually hung. When in the debugger mode, the system does not generate a ghost window. reference from MSDN. :confused:
-
Michael Liu wrote: Anyone knows how to deal with ghost windows in XP? How to get rid of the ghost windows in windows XP system with Platform SDK? Thanks. Yes, dont make programs that hangs! :) /Magnus
I never did program for XP specific, still a guess. Are window styles (::GetWindowLong()) same for Ghost(Excutable Mode) & Non-Ghost(Debug Mode) ? If not, make them the similar styles. Use Spy++ to check the styles. Thanks, Ramu