mIRC Homepage
Posted By: Miguel_A On open to custom/picture windows... Why ? - 18/03/08 07:14 PM
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
Posted By: Bekar Re: On open to custom/picture windows... Why ? - 18/03/08 09:07 PM
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.
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.
© mIRC Discussion Forums