What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Shell_NotifyIconW Example

Pages: (2): « First [ 1 ] 2 » Last »
Shell_NotifyIconW Example
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
O.P. Shell_NotifyIconW Example
This is an example of how to create an icon in the system tray and subclass it to receive the messages from icon.

I updated the code that I had originally developed because I received a PM asking why it didn't work.

.plsc File Attachment: _tray_icon.plsc (2.54 KB)
This file has been downloaded 367 time(s).
03-07-2007 07:30 AM
Profile E-Mail PM Find Quote Report
felipEx
Scripting Contest Winner
***


Posts: 378
Reputation: 24
35 / Male / Flag
Joined: Jun 2006
RE: Shell_NotifyIconW Example
it's great. but there is not a popupmenu . anyway. thanks a lot  :) ++

This post was edited on 03-07-2007 at 07:59 AM by felipEx.
03-07-2007 07:52 AM
Profile E-Mail PM Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: Shell_NotifyIconW Example
nice work there Matty 5/5 (Y)

i might use this for some scripts...
03-07-2007 07:54 AM
Profile PM Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
RE: Shell_NotifyIconW Example
Tray icon for scripts? Hope they give an option for disabling it :dodgy:
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
03-07-2007 08:37 AM
Profile E-Mail PM Web Find Quote Report
Eddie
Veteran Member
*****


Posts: 2078
Reputation: 30
32 / Male / Flag
Joined: Oct 2005
Status: Away
RE: Shell_NotifyIconW Example
Nice creation :) will be cool creation for developers :)
03-07-2007 08:47 AM
Profile PM Web Find Quote Report
Volv
Skinning Contest Winner
*****

Avatar

Posts: 1233
Reputation: 31
35 / Male / Flag
Joined: Oct 2004
RE: Shell_NotifyIconW Example
quote:
Originally posted by Eddie
Nice creation :) will be cool creation for developers :)
And oh so annoying for users :p

EDIT: PS: Just because I think it will be annoying doesn't mean that what you've done, Matty, is bad. It's a nice accomplishment and could be useful but unfortunately I think developers will use it for all the wrong reasons :(

This post was edited on 03-07-2007 at 10:23 AM by Volv.
03-07-2007 10:21 AM
Profile PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
O.P. RE: Shell_NotifyIconW Example
quote:
Originally posted by Volv
quote:
Originally posted by Eddie
Nice creation :) will be cool creation for developers :)
And oh so annoying for users :p

EDIT: PS: Just because I think it will be annoying doesn't mean that what you've done, Matty, is bad. It's a nice accomplishment and could be useful but unfortunately I think developers will use it for all the wrong reasons :(

Agreed, however someone asked me for it.
03-07-2007 12:38 PM
Profile E-Mail PM Find Quote Report
L. Coyote
Senior Member
****

Avatar
Captain Obvious

Posts: 981
Reputation: 49
39 / Male / Flag
Joined: Aug 2004
Status: Away
RE: Shell_NotifyIconW Example
quote:
Originally posted by Volv
quote:
Originally posted by Eddie
Nice creation :) will be cool creation for developers :)
And oh so annoying for users :p

EDIT: PS: Just because I think it will be annoying doesn't mean that what you've done, Matty, is bad. It's a nice accomplishment and could be useful but unfortunately I think developers will use it for all the wrong reasons :(
While I agree with you to an extent, let's not exaggerate. :P If a script has something like a tray icon when it's not even needed, you know the script is not worth it, anyways. Or, using this knowledge, you take the icon down, if the script doesn't have an option for it. :P Good exercise, too.


Anyway...

It's very important (for me, at least) to know how to do these things. The more I see the Message cycle being used, the more I'm starting to understand it. And hopefully, soon I won't have to bother others to know how things are done.

So, again, Matty, thanks a lot! :D

Hack, hack, hack!
Finally became a Systems Analyst! :spam:

03-07-2007 01:44 PM
Profile PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
O.P. RE: Shell_NotifyIconW Example
New Version: 0.2

Adds example of adding a context menu when you right click the the icon.


.plsc File Attachment: _tray_icon.plsc (3.05 KB)
This file has been downloaded 213 time(s).
03-07-2007 05:47 PM
Profile E-Mail PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Shell_NotifyIconW Example
There are some bugs though. The systray icon isn't properly removed/destroyed when you exit Messenger (polygamy).
.-= A 'frrrrrrrituurrr' for Wacky =-.
03-07-2007 06:57 PM
Profile PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » 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