mIRC Homepage
The title says all, is that possible without using external programs?
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
But I want to go to tray when I click on the "X".
Sorry, misunderstood what you were wanting.. The answer is no. The X will close/exit the program, as is the case in most programs.

Alt + o > Display > Options > Windows > minimize mirc on close
I stand corrected.
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.
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 :]
© mIRC Discussion Forums