Create vbscript messagebox that stays on top and blocks other windows

后端 未结 2 1097
梦毁少年i
梦毁少年i 2020-12-06 13:56

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

2条回答
  •  半阙折子戏
    2020-12-06 14:22

    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.

提交回复
热议问题