mIRC Homepage
Posted By: Chrisi /window bug? - 25/11/06 03:34 PM
i type this:
/window -aBCdfhop +deL @splashscreen 1 1 512 384
The window is only created, if i type this line 2 times
And the -C switch should center it. But it doesn't.

In mIRC 6.2 it worked.
Posted By: tontito Re: /window bug? - 25/11/06 03:49 PM
Hi,

i found a different bug with /window

/window -h @window (picture window) hides the window completely and even if we set a switch to put in windows's taskbar i can never see it.

i am also using the switches -Bdpk0

was working fine on 6.2 and previous
Posted By: qwerty Re: /window bug? - 25/11/06 04:17 PM
This is not a bug. The window is created fine the first time you type the command but you can't see it because you used the -h switch to hide it, so mirc is doing what you told it to. If you type the command a second time, mirc places the window at position (1,1) which is also normal, because -C is only effective when you create the window (ie in the first command). The reason it doesn't remain hidden the second time is that you've also specified the -a switch, which apparently takes priority over -h when the window already exists.

I assume you used -h not to hide the window but to hide its switchbar button. If so, you can now use the -w switch with 0 as the parameter to hide the switchbar button (as well as the treebar item):
/window -aBCdfow0 +deL @splashscreen 1 1 512 384
Posted By: Chrisi Re: /window bug? - 25/11/06 08:14 PM
ok. thanks.
was just strange because it worked with 6.2
Posted By: jizzy Re: /window bug? - 27/11/06 08:40 AM
From the help file:
Quote:

C = center window when first created
Posted By: tontito Re: /window bug? - 02/12/06 12:50 PM
Yep, that is the solution.

thanks qwerty

cheers
© mIRC Discussion Forums