mIRC Home    About    Download    Register    News    Help

Print Thread
#149773 23/05/06 08:53 PM
Joined: Apr 2006
Posts: 464
O
Fjord artisan
OP Offline
Fjord artisan
O
Joined: Apr 2006
Posts: 464
I have been playing with the icon to put on a custom window.
According to the helpfile this should be possible, but I dont seem to get this working.

I have been testing with lines like this, in my status window:

/window @test filename.ico
/window @test filename.ico 1
/window @test filename.icl
/window @test filename.icl 1
//window @test iconfile filename.ico etc, etc, etc

Really I tried like a hundred different combinations.
On this forum I only found questions regarding the fontname.

Is anyone able to create a custom window, with a custom icon?
And if so, what was the command you used?

Thx in advance for your help.

#149774 23/05/06 09:00 PM
Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
I was able to create a window with a custom icon using:

Code:
 /window @test iconfile filename.ico 


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
#149775 23/05/06 09:05 PM
Joined: Apr 2006
Posts: 464
O
Fjord artisan
OP Offline
Fjord artisan
O
Joined: Apr 2006
Posts: 464
Well, I just tried that, but it still shows me the square with the @-sign in it.

I also tried putting in a remote file, and use from the on Connect event, but also nothing confused

/window @test iconfile mirc.ico (from status window)
window @test iconfile mirc.ico (from remote file)

mirc.ico is the icon file in my mircdir and contains only 1 icon...

#149776 23/05/06 10:29 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
/window @test 100 150 640 480 iconfile mirc.exe

#149777 23/05/06 10:43 PM
Joined: Apr 2006
Posts: 464
O
Fjord artisan
OP Offline
Fjord artisan
O
Joined: Apr 2006
Posts: 464
Aha, thx for that MikeChat.

This does seem to give the window the icon, but you only see it if the window is not maximised.

When the window is maximised, it only shows the default icon (square with @-sign) in the channel bar.

Is there a way to customise that particulair icon?

#149778 23/05/06 11:00 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
I'm not sure what you are seeing as I have maxed the indow inside the mdi frame, are you meaning as a desktop window?

did you specify the window size or just click the size in the frame control .

(you can remove the @ by using the -k0 switch)

/window -k0 @test 0 0 800 600 iconfile mirc.exe

#149779 24/05/06 05:22 AM
Joined: Apr 2006
Posts: 464
O
Fjord artisan
OP Offline
Fjord artisan
O
Joined: Apr 2006
Posts: 464
Ok, I've made a picture to show the problem:



That window was created with:
/window -k0 @EventsLog iconfile mirc.ico

In the top part, you can see how the channels bar looks when the custom window has been maximised.

In the second part, you can see the window (and it's new icon) when it's not maximised.

In both cases the icon in the channels bar stays like the default one. Is it possible to customise that icon?

Thx again smile

#149780 24/05/06 12:29 PM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Nope. I suggested this as a feature a while back but mIRC's been through a couple of versions since.

#149781 24/05/06 04:57 PM
Joined: Apr 2006
Posts: 464
O
Fjord artisan
OP Offline
Fjord artisan
O
Joined: Apr 2006
Posts: 464
Ahh to bad frown

Well, it was only a cosmetics thing, so it's no problem.
Thx hixxy


Link Copied to Clipboard