What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Help: How to write code that hides system tray icon

Pages: (5): « First [ 1 ] 2 3 4 5 » Last »
Help: How to write code that hides system tray icon
Author: Message:
Black_Ice
Junior Member
**


Posts: 26
33 / Male / –
Joined: Jun 2006
O.P. Help: How to write code that hides system tray icon
Hi All,
I was just wondering if anyone could help me out with some code that would hide (remove) the WLM icon from the taks bar. I want to write a script that will allow you to use a shortcut to hide the WLM icon...this will work hand in hand with MPL's Lock feature.

I can't find the code to hide the system tray icon anywhere! Any help would be greatly appreciated.

Cheers,
Black Ice

This post was edited on 06-29-2006 at 02:25 AM by Black_Ice.
06-29-2006 02:08 AM
Profile E-Mail PM Find Quote Report
rob_botch
Full Member
***

Avatar

Posts: 180
Reputation: 4
33 / Male / Flag
Joined: Apr 2006
RE: Help: How to write code that hides system tray icon
You probably wouldn't be able to do that with a script. You might be able to try patching a Messenger .dll file, but that is not recommended or allowed. Alternatively, you could cheat and make a transparent icon (or one that blends into the system tray) and set that as the icon on locking.

Hope that this helps
06-29-2006 09:33 AM
Profile E-Mail PM Web Find Quote Report
Black_Ice
Junior Member
**


Posts: 26
33 / Male / –
Joined: Jun 2006
O.P. RE: Help: How to write code that hides system tray icon
Thanks for the reply.
Well how come you can get programs that hide the icon(s) of program(s) in the system tray? Aswell as hide the process in the Task Manager? Surely there is a way to do this, even if it's not in JScript. Like you said a DLL...here's a link to a similar plug-in for normal Messenger Plus!

http://360software.dakotabcn.net/umlock/index.html

This would allow you to hide msn's system tray icon with a shortcut.

I haven't given up yet because I know software can do this like...the ones at this page
06-29-2006 09:41 AM
Profile E-Mail PM Find Quote Report
rob_botch
Full Member
***

Avatar

Posts: 180
Reputation: 4
33 / Male / Flag
Joined: Apr 2006
RE: Help: How to write code that hides system tray icon
Well.. perhaps you could use a script that runs one of these external programs, or another program with the capabilities to hide the icon. I would be very surprised if you could hide the icon directly from a script.
06-29-2006 09:43 AM
Profile E-Mail PM Web Find Quote Report
Black_Ice
Junior Member
**


Posts: 26
33 / Male / –
Joined: Jun 2006
O.P. RE: Help: How to write code that hides system tray icon
Maybe not a script but a DLL or VB code
06-29-2006 09:45 AM
Profile E-Mail PM Find Quote Report
rob_botch
Full Member
***

Avatar

Posts: 180
Reputation: 4
33 / Male / Flag
Joined: Apr 2006
RE: Help: How to write code that hides system tray icon
Yes, and then you could run this DLL or VB code from the script at certain points.
06-29-2006 09:46 AM
Profile E-Mail PM Web Find Quote Report
Black_Ice
Junior Member
**


Posts: 26
33 / Male / –
Joined: Jun 2006
O.P. Huh?  RE: Help: How to write code that hides system tray icon
Yup, only problem now is finding the right VB code...

Ok I'm really stuck, I've been searchin' for days. Does anyone know some VB 6 code that will allow me to hide another apps system tray icon (messenger live's icon).

Any help is greatly appreciated. Thanks in advance:)

This post was edited on 07-03-2006 at 10:43 AM by Black_Ice.
06-29-2006 09:47 AM
Profile E-Mail PM Find Quote Report
shrav/oo7`
Junior Member
**


Posts: 22
33 / Male / –
Joined: Aug 2006
RE: Help: How to write code that hides system tray icon
Hey Black_Ice, i have found a partial solution to your problem. i myself used the Ultimate messenger lock alot, i can help you make the messenger icon dissappear, as in remove the icon but leave a space instead. go to the messenger plus! live preferences, click on the messenger tab, messenger lock. tick the checkbox that says "modify the systray icon" then click the icon, change the path to "C:\WINDOWS\system32\Shell32.dll,50" without the " and click ok. this will replace the messenger icon with a blank space every time you lock messenger. you might also want to disable the tooltip of the icon.
08-13-2006 04:21 AM
Profile PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Help: How to write code that hides system tray icon
Look please refrain from posting in threads where you do not know the correct answer.

This process is long and drawn out so I am not going to give you the exact code however I will tell you it is possible.

You need to basically get the handle of the icons and enumerate through them till you find the one relating to msnmsgr.exe. Once you find that you can (with some code) send NIM_DELETE to the icon and it will be removed.

http://support.microsoft.com/?scid=176085

If you want to see an example of getting the handle of the icons take a look at -dt-'s script to change the tooltip of the icon to include your email and status.
[Release] Email tooltip

This post was edited on 08-13-2006 at 04:52 AM by matty.
08-13-2006 04:45 AM
Profile E-Mail PM Find Quote Report
Black_Ice
Junior Member
**


Posts: 26
33 / Male / –
Joined: Jun 2006
O.P. RE: Help: How to write code that hides system tray icon
Thanks I'lll give it ago and alert you of any success.
08-13-2006 08:51 AM
Profile E-Mail PM Find Quote Report
Pages: (5): « First [ 1 ] 2 3 4 5 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On