Create vbscript messagebox that stays on top and b

2019-01-15 10:01发布

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.

2条回答
何必那么认真
2楼-- · 2019-01-15 10:45

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.

查看更多
ら.Afraid
3楼-- · 2019-01-15 10:50

MsgBox "Hello, World!", +vbSystemModal

Make sure to add the "+" before vbSystemModal

查看更多
登录 后发表回答