创建停留在顶部并阻止其他窗口的 vbscript 消息框 [英] Create vbscript messagebox that stays on top and blocks other windows

查看:18
本文介绍了创建停留在顶部并阻止其他窗口的 vbscript 消息框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮助我创建一个始终位于顶部的消息框,并且用户在按下消息框上的确定"按钮之前无法使用其他窗口功能,例如调用开始菜单或与其他窗口交互.

Help me please to create a messagebox which stays always on top, and user can't use other windows functions like calling start menu or interacting with other windows until he presses the OK button on messagebox.

推荐答案

MsgBox 函数的第二个参数允许您指定对话框的选项.

The second parameter of the MsgBox function allows you to specify options for the dialog.

MsgBox "Hello, World!", vbSystemModal

有关更多信息,请参阅我的文章掌握消息框.

For more information, see my article Mastering the Message Box.

这篇关于创建停留在顶部并阻止其他窗口的 vbscript 消息框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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