mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2007
Posts: 3
S
Self-satisified door
OP Offline
Self-satisified door
S
Joined: Oct 2007
Posts: 3
The title says all, is that possible without using external programs?

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
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

Joined: Oct 2007
Posts: 3
S
Self-satisified door
OP Offline
Self-satisified door
S
Joined: Oct 2007
Posts: 3
But I want to go to tray when I click on the "X".

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Sorry, misunderstood what you were wanting.. The answer is no. The X will close/exit the program, as is the case in most programs.


Joined: Jul 2006
Posts: 4,145
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
Alt + o > Display > Options > Windows > minimize mirc on close

Last edited by Wims; 08/10/07 06:29 PM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
I stand corrected.

Joined: Oct 2007
Posts: 3
S
Self-satisified door
OP Offline
Self-satisified door
S
Joined: Oct 2007
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.

Joined: Jul 2006
Posts: 4,145
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
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 :]


#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard