mIRC Home    About    Download    Register    News    Help

Print Thread
#171742 28/02/07 12:16 PM
B
b1ink
b1ink
B
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

#171744 28/02/07 01:42 PM
K
Kardafol
Kardafol
K
Happens for me, aswell. It appears the box is centered inside the mIRC window.

#171753 28/02/07 02:40 PM
Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
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.

#171762 28/02/07 06:11 PM
B
b1ink
b1ink
B
it actually would pop on the far left-up of the screen.

#171768 28/02/07 10:01 PM
Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
He was saying that when mIRC's maximized, it's centered, but when it's minimized, it's not.

Riamus2 #171774 28/02/07 10:32 PM
K
Kardafol
Kardafol
K
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.

#174173 03/04/07 01:51 PM
B
b1ink
b1ink
B
would this interest you Khaled?

#174327 05/04/07 04:53 PM
Joined: Dec 2002
Posts: 3,907
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 3,907
Thanks this has been fixed for the next version.

Khaled #174370 06/04/07 06:59 PM
B
b1ink
b1ink
B
thanks. really appreciate it Khaled.


Link Copied to Clipboard