Detached Dialogs
Basic Message Loop - VBScript
Do
Set Msg = Dlg.GetMsg
If Not Msg.result Then Exit Do
' Your code to process dialog events will go here.
LoopBasic Message Loop - JScript
while (true) {
var Msg = Dlg.GetMsg();
if (!Msg.result) break;
// Your code to process dialog events will go here.
}Script Code - VBScript
Script Code - JScript
Resources
最后更新于