mIRC Home    About    Download    Register    News    Help

Print Thread
Page 1 of 2 1 2
#196313 14/03/08 08:35 PM
Joined: Mar 2008
Posts: 2
S
srt Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
S
Joined: Mar 2008
Posts: 2
I would like an option for mirc to never be shown on the taskbar and only appear in the tray.

Thanks! Ben

Joined: Aug 2007
Posts: 334
Pan-dimensional mouse
Offline
Pan-dimensional mouse
Joined: Aug 2007
Posts: 334
why?


This is not the signature you are looking for
Joined: Mar 2008
Posts: 2
S
srt Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
S
Joined: Mar 2008
Posts: 2
The icon takes up less space in the tray, and on the taskbar it only adds to the clutter and I feel like it's in my way. I always keep mirc running so would be nice having the icon out of the way and in a more permanent location.

Joined: Aug 2007
Posts: 334
Pan-dimensional mouse
Offline
Pan-dimensional mouse
Joined: Aug 2007
Posts: 334
im not even sure that possible, its probably, but idk


This is not the signature you are looking for
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
It's possible, because I've seen other programs do that, however, note that removing the taskbar entry also means that you wouldn't be able to access mIRC using Alt+Tab

Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
Not accusing you or anything, but could you point out the benefit this would be to users who don't use mIRC as a file sharing application? Otherwise, what's the point of having mIRC run all the time?

Regards,


Mentality/Chris
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
I run it all of the time. I also am in a support channel and whenever I come back to the computer, I look for issues needing resolved. There are other reasons to just let it run 24/7, such as the trivia bot that I run. I think filesharing isn't really the issue because anyone just running a filesharing bot can minimize it to the tray and it's never an issue. It's people who want it maximized all of the time, which are usually going to be people actually using it to do things, such as chatting/helping.


Invision Support
#Invision on irc.irchighway.net
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

I would like to remove it from the taskbar too and have it only in the system tray. I don't always run mine 24/7. All programs should have this option really.

Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Originally Posted By: Mentality
Not accusing you or anything, but could you point out the benefit this would be to users who don't use mIRC as a file sharing application? Otherwise, what's the point of having mIRC run all the time?

Regards,


Many people using mirc as bot, and i have my mirc connected 24/7, not cos i use it as bot. I just want to be able to open mirc and see what happens smile so you don't need to file share (did see your comment "Not accusing you or anything") just wanted to say it's many ppl running mirc 24/7 without have a wierd "reason" to do so smile


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Nov 2004
Posts: 842
Hoopy frood
Offline
Hoopy frood
Joined: Nov 2004
Posts: 842
I don't really mind the large box in my taskbar, however, I do support this idea.


What do you do at the end of the world? Are you busy? Will you save us?
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
Ah, I forgot about bots, haven't used an mIRC bot for years.

What a waste of energy/electricity frown Nevermind.


Mentality/Chris
Joined: Dec 2007
Posts: 48
K
Kol Offline
Ameglian cow
Offline
Ameglian cow
K
Joined: Dec 2007
Posts: 48
http://minimize2tray.com/minimizetotray.zip

Install
Run
Applications tab
Add
Put in $mircexe evaluated

Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

"You can use Minimize To Tray to hide running programs or games on your work computer from boss."

lol funny. Although I'd rather not use a third party app for something like this, It's a good alternative until it's added in mIRC.

Joined: Apr 2004
Posts: 871
Sat Offline
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2004
Posts: 871
Is this in any way better than mIRC's built-in minimize to tray option?


Saturn, QuakeNet staff
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

Originally Posted By: Sat

Is this in any way better than mIRC's built-in minimize to tray option?


Good point, it may remove the taskbar button when minmized, but the OP requested that mIRC have an option to only show in the system tray at all times, not just when minimized. mIRC already has the minimize to tray feature.

Joined: Aug 2007
Posts: 334
Pan-dimensional mouse
Offline
Pan-dimensional mouse
Joined: Aug 2007
Posts: 334
thats still kind of dumb, because that would have to make mIRC a window inside the real mirc to get it off the taskbar which would prob screw up something along the way


This is not the signature you are looking for
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
That's simply not true. It's absolutely possible to remove a regular top-level window from the taskbar. How do you think mIRC does it already for the Minimize To Tray option?


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Mar 2008
Posts: 3
N
Self-satisified door
Offline
Self-satisified door
N
Joined: Mar 2008
Posts: 3
Hello,
If you wish to hide mIRC from your taskbar to the tray, follow the steps:

Open mIRC
type alt + O
Display - Options
Then go to Tray & Choose your options.

Hope to have help you wink


"It's choice not chance that determines your destiny"
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
He wants it on the tray even when maximized and never on the taskbar, which is not a current option.


Invision Support
#Invision on irc.irchighway.net
Joined: Mar 2008
Posts: 3
N
Self-satisified door
Offline
Self-satisified door
N
Joined: Mar 2008
Posts: 3
we do have the option "On startup minimise mIRC to tray" in it wink


"It's choice not chance that determines your destiny"
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

Yes we have the option to minimize mIRC to tray.

That means it is placed in the tray ONLY when minimized. The request is for the option to remove mIRC from the taskbar and place it in the tray ALWAYS, not only when it's minimized.

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
That isn't what the OP wants, however.


Invision Support
#Invision on irc.irchighway.net
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Yes, but that doesn't resolve the problem, as the OP wants mIRC open and available for him to read/type in.. when minimized he can't do that.

Joined: Jul 2006
Posts: 248
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Jul 2006
Posts: 248
Nobody's mentioned a dual (or more!) monitor setup yet! It's only natural to cast away task bar clutter when you can in all actuality have mIRC visible at all times. Quite a few of my mIRC-using friends work it like this - and they also run mIRC 24/7.

It would be incredibly helpful to get this feature in.

Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
I gotta agree with the OP here... It always gets on my nerves that MSN does *not* do this. mIRC is in the class of programs that should have this functionality as many people do use mIRC as a form of messenger program.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
mIRC has supported dual monitors for as long as I can recall. The option to permit it is located in mIRC Options - Display - Options.

There is a check box there to enable/disable Dual monitor support

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
That wasn't the point, RusselB. He was making a point that having the OP's feature request would be even more useful for people using dual monitors.


Invision Support
#Invision on irc.irchighway.net
Joined: Feb 2003
Posts: 31
J
Ameglian cow
Offline
Ameglian cow
J
Joined: Feb 2003
Posts: 31
I agree with the OP's suggestion: mIRC could really use a way to get rid of the taskbar item. Like some of the other repliers, I leave my client on 24 hours a day, and while I usually don't mind the taskbar item, I will sometimes decide to have a more than a few different applications open simultaneously. With my already dwindling taskbar space, mIRC (combined with Pidgin, which also cannot be active and absent from the taskbar) starts accounting for a significant portion of the unnecessarily used space.

What's interesting is, I seem to vaguely recall already having this ability at some point in time. I'm not sure if I had used a third party program or what, but the only method of removing taskbar items I've found recently is TrayIt, which results in an extra (dummy) system tray icon. One could then remove the normal system tray icon, but of course, then the status indications of the icon is no longer available. This same issue occurs in Pidgin. Their excuse for not resolving it was that it's a "windows OS issue." Considering mIRC is built specifically for Windows, I hope this is not the case here. smile

Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Here, you can use this dll, notaskbar.dll, in the meantime...

Drop it in $mircdir and add:

Code:
on *:APPACTIVE:.timer 1 0 dll notaskbar.dll DeleteTab


There is a side-effect since the window seems to get re-inserted into the taskbar *after* the APPACTIVE event (hence the timer), so you see some movement if you switch from mirc while its not minimized.

I threw it together in a couple of minutes using info about the ITaskbarList interface. The other method would just be using SetParent() to set mIRC's parent as a hidden window-- same effect but bulkier code.

You can use this dll to hide any window by HWND if you supply a number as a parameter, so:

dll notaskbar.dll DeleteTab $window(-2).hwnd

would have the same effect as without any parameter.

There's also an "AddTab" method which does the exact opposite, but same syntax.

The code for the dll is right here, for those interested-- specifically Khaled, who can throw this into mIRC sometime and hook it up with Tray stuff smile

Code:
#include <windows.h>
#include <shobjidl.h>

int __stdcall DeleteTab(HWND mWnd, HWND aWnd, char *data, char *parms, BOOL show, BOOL nopause)
{
	CoInitialize(NULL);
	ITaskbarList *pTaskbar = NULL;
	CoCreateInstance(CLSID_TaskbarList, NULL, CLSCTX_SERVER, IID_ITaskbarList, (LPVOID*)&pTaskbar);

	if (pTaskbar) {
		pTaskbar->HrInit();
		pTaskbar->DeleteTab(*data ? (HWND)atoi(data) : mWnd);
	}
	CoUninitialize();

	return 1;
}

int __stdcall AddTab(HWND mWnd, HWND aWnd, char *data, char *parms, BOOL show, BOOL nopause)
{
	CoInitialize(NULL);
	ITaskbarList *pTaskbar = NULL;
	CoCreateInstance(CLSID_TaskbarList, NULL, CLSCTX_SERVER, IID_ITaskbarList, (LPVOID*)&pTaskbar);

	if (pTaskbar) {
		pTaskbar->HrInit();
		pTaskbar->AddTab(*data ? (HWND)atoi(data) : mWnd);
	}
	CoUninitialize();

	return 1;
}


It's under a Please Steal Me (tm) license, especially since I "borrowed" the boiler plate code myself from this thread.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Sep 2007
Posts: 1
A
ase Offline
Mostly harmless
Offline
Mostly harmless
A
Joined: Sep 2007
Posts: 1
I salute you argv0! I salute you! This is a most fantastic, a most fantastic contribution to the mIRC scene. The most important feature that mIRC never had!

Thank you!

Page 1 of 2 1 2

Link Copied to Clipboard