防止白色崩溃覆盖在应用程序窗口顶部

防止白色崩溃覆盖在应用程序窗口顶部

本文介绍了防止白色崩溃覆盖在应用程序窗口顶部的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当应用程序崩溃或停止响应时,是否可以禁用窗口顶部的白色窗口覆盖?  虽然这个白色的窗口创意看起来不错,但是在某些情况下,使用白色的叠加层无济于事.例如,我经常使用3D应用程序来渲染图像.有时它们在渲染中崩溃.当窗口变成白色时,这将阻止屏幕捕获渲染的任何部分.我使用这种技术来获取增量渲染,因此有时不必重新渲染价值数小时的渲染.  是否可以通过注册表禁用白色覆盖?

Is there a way to disable the white window overlay on top of a window when an app crashes or stops responding?  While this white window idea seems good at face value, there are some situations where having this the white overlay is not helpful.  For example, I regularly use 3D applications to render images.  Sometimes they crash mid-render. When the window turns white, this prevents a screen grab of whatever portion of the render was completed.  I use this technique to get incremental renders so I don't have to re-render sometimes hours worth of rendering.  Is there a way to disable the white overlay through the registry?

如果没有禁用白色覆盖的功能,请考虑将此功能添加到Windows更新中.

If there isn't a feature to disable the white overlay, please consider adding this feature to a Windows update.

注意,我正在使用家庭高级版.  因此,请勿建议使用组策略编辑器(gpedit.msc)或安全策略编辑器(secpol.msc),因为这些功能在Home Premium中不存在.  如果有注册表项,我将需要确切的注册表项进行编辑.

Note, I am using Home Premium edition.  So, please don't suggest using Group Policy editor (gpedit.msc) or Security Policy Editor (secpol.msc) as these do not exist on Home Premium.  If there is a registry key, I will need the exact registry key to edit.

谢谢.

推荐答案

本文介绍了幻影窗口(您引用的白色窗口)功能:

The ghost window (the white window referred by you) feature is documented in this article:

http://msdn.microsoft.com/en-us/library/dd744765(VS.85).aspx

从开发人员的角度出发,您可以重新设计应用程序以使其不挂起,或在应用程序中调用DisableProcessWindowsGhosting禁用幻像窗口.您是否拥有问题中提到的3D应用程序?

From a developer perspecitve, you can redesign the application to make it not hang, or call DisableProcessWindowsGhosting in your application to disable the ghost window. Do you own the 3D application mentioned in your question?


这篇关于防止白色崩溃覆盖在应用程序窗口顶部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-04 22:06