如何将警报框置于所有其他窗口的前面? [英] How can i bring my alert box infront of all other windows?

查看:76
本文介绍了如何将警报框置于所有其他窗口的前面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中,当我关闭窗口时,将弹出一个警告框.但是它显示在所有其他打开的窗口下方.我尝试了Window.Focus()方法,但无法正常工作.还有其他可以尝试的替代方法吗?有充分的理由.该警报框应该在Web浏览器窗口上弹出,而没有其他任何弹出窗口.另一行为将令人困惑.请理解对于Web应用程序,操作系统"只是一个浏览器窗口.这是应用程序的整个范围.其他窗口不存在.如果您将浏览器窗口隐藏在其他窗口后面,请考虑关闭Web应用程序;否则,请执行以下步骤.它应该保持隐藏.

—SA


我的监视器显示---

您可能是假冒伪劣的软件,这是一个复制窗口..
这个显示在一个星期之前.请向我解释,
并解决我的问题.


In my application when i close a window , an alert box will pop up. But it is appearing below all the other opened windows. I tried Window.Focus() method but it is not working.Is there any other alternative that i can try?

解决方案

I don''t think you can — for a good reason. The alert box is supposed to pop up over the Web browser window and nothing else. Another behavior would be confusing. Please understand the for the Web application, the "operating system" is just one browser window. This is the whole scope of the application. Other windows do not exist. If you hide your browser window behind other windows — consider you switch off you Web application; it should remain hidden.

—SA


MY MONITOR SHOWING---

YOU MAY BE A VICTIM SOFTWARE COUNTERFEITING,THIS IS A COPY WINDOW..
This showing before one week. please explained me,
and solve my problem.


这篇关于如何将警报框置于所有其他窗口的前面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆