mIRC Home    About    Download    Register    News    Help

Print Thread
#80005 20/04/04 07:39 PM
Joined: Apr 2004
Posts: 4
S
Self-satisified door
OP Offline
Self-satisified door
S
Joined: Apr 2004
Posts: 4
alias InputBox {
.comopen i Excel.Application
var %i $com(i,InputBox,1,bstr,Try Moving the Dialog)
var %i $com(i).result
.comclose i
return %i
}

dialog trails visible when you move the dialog......

#80006 21/04/04 02:40 PM
Joined: Aug 2003
Posts: 72
V
Babel fish
Offline
Babel fish
V
Joined: Aug 2003
Posts: 72
use $input ...

#80007 23/04/04 03:46 PM
Joined: Dec 2002
Posts: 5,420
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,420
I can't reproduce any problems with the above script here, no dialogs trails, etc. That said, when you use $com() to call external objects, mIRC has no actual control over how they work, or how they might affect mIRC itself.

#80008 24/04/04 03:57 AM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
Click THIS LINK HERE for a picture of what happens on my mirc 6.14 using win2kpro sp3


Those who fail history are doomed to repeat it
#80009 24/04/04 12:36 PM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Yup, same happens here.

mIRC 6.14 - WinXP pro.

#80010 24/04/04 12:58 PM
Joined: Dec 2002
Posts: 5,420
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,420
Right, I was able to reproduce this. There is nothing that can be done in mIRC to prevent this since the routine you are calling has complete control at that point. The solution is to use the multithreaded version of $com which is $comcall().


Link Copied to Clipboard