mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2003
Posts: 144
M
Vogon poet
OP Offline
Vogon poet
M
Joined: Aug 2003
Posts: 144
Hi ppl.

Is thery any particulary reason to make the on open even´t don´t trigger when a custom/picture window are opened ??

I think such event like that will be handy like the init for the dialogs...

Thanks in advance

Last edited by Miguel_A; 18/03/08 07:15 PM.
Joined: Dec 2002
Posts: 503
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Dec 2002
Posts: 503
Code wise, in order to open a @Window, you have to issue a /window command. So there's really no reason to have it trigger the ON OPEN event as well, as you already have code-control over when they open.

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Right. If you already have to type the command to create the window, what's the point in not having the code (or alias) right there with the /window command? Putting it into an on OPEN doesn't really do anything for you.


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard