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. RE: Shell_NotifyIconW Example
quote:
Originally posted by CookieRevised
There are some bugs though. The systray icon isn't properly removed/destroyed when you exit Messenger (polygamy).
That is easily fixed if you use a GlobalAtom of the Users Email address. And you can use the Atom as the ID of the icon and it will resolve that issue. Also it screws up with Messenger Lock. Messenger Lock changes the icon we created not the Messenger one.

This post was edited on 03-07-2007 at 07:28 PM by matty.
03-07-2007 06:59 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
quote:
Originally posted by Matty
Messenger Lock changes the icon we created not the Messenger one.
lol, indeed.... bug in Plus! I'd say...

(or at least, a lazyness of Patchou to search for the first icon created by the Messenger process, instead of checking the *magic* id 40046?... I think :p)

This post was edited on 03-07-2007 at 07:18 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
03-07-2007 07:10 PM
Profile PM Find Quote Report
Patchou
Messenger Plus! Creator
*****

Avatar

Posts: 8607
Reputation: 201
43 / Male / Flag
Joined: Apr 2002
RE: Shell_NotifyIconW Example
that's not lazyness, all the countrary... I dont want to search for any "magic" id as you say, one of the many thigns that make Messenger Plus! resistant to Messenger updates.

I'll find a way to fix it for you.
[Image: signature2.gif]
03-07-2007 07:23 PM
Profile PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
O.P. RE: Shell_NotifyIconW Example
Here is another update

Version 0.3

Includes Polygamy Support and proper adding and removing of the icon when the user signs in and out.

.plsc File Attachment: _tray_icon_0.3.plsc (3.5 KB)
This file has been downloaded 277 time(s).
03-07-2007 07:29 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
quote:
Originally posted by Patchou
that's not lazyness, all the countrary... I dont want to search for any "magic" id as you say, one of the many thigns that make Messenger Plus! resistant to Messenger updates.

I'll find a way to fix it for you.
but... but... but... :p

I guess you're right, although that number has never changed since version xxx (can't remember, at least 7.0 though...). And if it is, there are tricks to find out that number from the source, no?

This post was edited on 03-07-2007 at 07:43 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
03-07-2007 07:42 PM
Profile PM Find Quote Report
felipEx
Scripting Contest Winner
***


Posts: 378
Reputation: 24
35 / Male / Flag
Joined: Jun 2006
RE: Shell_NotifyIconW Example
i like that  :)

code:
    if (Messenger.MyStatus > 0) {
        /*     Call the function to create the icon    */
        CreateIcon();
    }


you forgotten the offline users :D
03-07-2007 08:00 PM
Profile E-Mail PM Find Quote Report
Patchou
Messenger Plus! Creator
*****

Avatar

Posts: 8607
Reputation: 201
43 / Male / Flag
Joined: Apr 2002
RE: Shell_NotifyIconW Example
yes there is a trick: it's by monitoring additions of icons and checkign the id that's being added.. which is what I'm doing :p.

Bug fixed btw, it was caused by a stupid mistake made in a patch for version 4.10 or something like that to detect when the icon was being readded following explorer.exe being killed and reinstanciated.
[Image: signature2.gif]
03-07-2007 08:18 PM
Profile PM Web Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: RE: Shell_NotifyIconW Example
quote:
Originally posted by Patchou
yes there is a trick: it's by monitoring additions of icons and checkign the id that's being added.. which is what I'm doing :p.
you could also loop through the icons and get each's associated handle and id (among other things), but what you're doing is definitely better :P
03-07-2007 11:39 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