mIRC Homepage
Posted By: b1ink $input issue. - 28/02/07 12:16 PM
I'm working on a script that would pop an $input request when mirc is minimized. but the input request is not centered when minimized. try below example.
Code:
//.timer 1 1 noop $!input(test,oh) | showmirc -n
Posted By: Kardafol Re: $input issue. - 28/02/07 01:42 PM
Happens for me, aswell. It appears the box is centered inside the mIRC window.
Posted By: Riamus2 Re: $input issue. - 28/02/07 02:40 PM
Yeah. I'm thinking that it centers based on the $window location of mIRC instead of the actual center of the screen. It should probably be changed to work like dialogs using the -1 -1 X/Y params.
Posted By: b1ink Re: $input issue. - 28/02/07 06:11 PM
it actually would pop on the far left-up of the screen.
Posted By: Riamus2 Re: $input issue. - 28/02/07 10:01 PM
He was saying that when mIRC's maximized, it's centered, but when it's minimized, it's not.
Posted By: Kardafol Re: $input issue. - 28/02/07 10:32 PM
When I have mIRC minimized, it appears on the upper left corner.
When I maximize mIRC, it appears near the center of the screen, at the center of mIRC.
When I have mIRC open, and have it as a 600x800 square at the bottom left corner, it appears in the center of the 600x800 mIRC box at the bottom left corner.

It appears at the center of the main mIRC window, however if the main mIRC window is minimized, it calculates the mIRC window as being 1,1 on the screen, and fits the dialog box in.
Posted By: b1ink Re: $input issue. - 03/04/07 01:51 PM
would this interest you Khaled?
Posted By: Khaled Re: $input issue. - 05/04/07 04:53 PM
Thanks this has been fixed for the next version.
Posted By: b1ink Re: $input issue. - 06/04/07 06:59 PM
thanks. really appreciate it Khaled.
© mIRC Discussion Forums