mIRC Home    About    Download    Register    News    Help

Topic Options
#187543 - 07/10/07 07:45 PM How to minimize to taskbar and clseo to tray?
steliyan Offline
Self-satisified door

Registered: 07/10/07
Posts: 3
The title says all, is that possible without using external programs?

Top
#187554 - 07/10/07 10:01 PM Re: How to minimize to taskbar and clseo to tray? [Re: steliyan]
RusselB Offline
Planetary brain

Registered: 03/08/04
Posts: 7252
Loc: Ontario, Canada
Windows organizes the taskbar based on the order and (depending on your configuration) type of task.

Minimizing to taskbar, rather than rather than the tray, uncheck the 3rd item in Options - Display - Options - Tray

Top
#187569 - 08/10/07 06:02 AM Re: How to minimize to taskbar and clseo to tray? [Re: steliyan]
steliyan Offline
Self-satisified door

Registered: 07/10/07
Posts: 3
But I want to go to tray when I click on the "X".

Top
#187570 - 08/10/07 08:45 AM Re: How to minimize to taskbar and clseo to tray? [Re: steliyan]
RusselB Offline
Planetary brain

Registered: 03/08/04
Posts: 7252
Loc: Ontario, Canada
Sorry, misunderstood what you were wanting.. The answer is no. The X will close/exit the program, as is the case in most programs.


Top
#187589 - 08/10/07 07:28 PM Re: How to minimize to taskbar and clseo to tray? [Re: RusselB]
Wims Offline
Planetary brain

Registered: 31/07/06
Posts: 3436
Loc: France
Alt + o > Display > Options > Windows > minimize mirc on close


Edited by Wims (08/10/07 07:29 PM)
_________________________
Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net

Top
#187590 - 08/10/07 08:22 PM Re: How to minimize to taskbar and clseo to tray? [Re: Wims]
RusselB Offline
Planetary brain

Registered: 03/08/04
Posts: 7252
Loc: Ontario, Canada
I stand corrected.

Top
#187640 - 09/10/07 04:45 PM Re: How to minimize to taskbar and clseo to tray? [Re: steliyan]
steliyan Offline
Self-satisified door

Registered: 07/10/07
Posts: 3
Why don't you read carefully?!
When you click on minimize button ("_") mIRC goes to taskbar (not tray), when you click on close button ("X") mirc goes only to tray.

Top
#187641 - 09/10/07 07:06 PM Re: How to minimize to taskbar and clseo to tray? [Re: steliyan]
Wims Offline
Planetary brain

Registered: 31/07/06
Posts: 3436
Loc: France
There is no way to do that with mirc option but you can use dll to subclass the mirc main window, check when you click on the X button, and so, use /showmirc -t

You can use cwnd.dll : with this code :
Code:
//noop $dll(cwnd.dll,subclass,Ga $window(-2).hwnd)
;use this to subclass
;when something happen in the mirc main window, it will send the information to the on signal event :
on *:signal:cwnd:if ($1 == Ga) && ($2 == close) showmirc -t


i've not tested and just give this to help you but, maybe there is some problem i can't think of :]
_________________________
Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net

Top