Create vbscript messagebox that stays on top and blocks other windows

谁说胖子不能爱 提交于 2019-12-17 16:37:51

问题


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.


回答1:


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.




回答2:


MsgBox "Hello, World!", +vbSystemModal

Make sure to add the "+" before vbSystemModal



来源:https://stackoverflow.com/questions/11394432/create-vbscript-messagebox-that-stays-on-top-and-blocks-other-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!