MSGBOX 在 WSH/VBS 中的位置 [英] MSGBOX position in WSH/VBS

查看:123
本文介绍了MSGBOX 在 WSH/VBS 中的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的下一个问题,我希望有人能帮助我:-)

here is my next question and i hope some one can help me :-)

是否可以在 wsh/vbs 中定位 msgbox?

Is it possible to position a msgbox in wsh/vbs?

替代文字 http://www.4freeimagehost.com/uploads/a9b04cde0527.jpg

我每次在前台都需要 msgbox.我知道如何定位输入框,但不知道如何定位 msgbox.

I need the msgbox everytime in the foreground. I know that how to position a inputbox, but not a msgbox.

感谢您的帮助.

您好,马蒂亚斯

推荐答案

你不能通过单独使用 VBS 的 WSH MsgBox 做到这一点.

You cannot do that with a WSH MsgBox using VBS alone.

InputBox 是唯一允许您设置位置的内置对话框函数.

InputBox is the only build in dialog function that allows you to set a position.

您可以使用 WshShell.Popup 并使其在几秒钟后消失,但它会居中.

You can use a WshShell.Popup and make it disappear after a few seconds, however it will be centered.

编辑;这是 某事 使用 IE.

Edit; here is something using IE.

这篇关于MSGBOX 在 WSH/VBS 中的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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