--- Alan Martin <[EMAIL PROTECTED]> wrote: > However, no matter which Windows version from 95 to XP, > some programs' tray icons behave weirdly, such as changing > their identity string each time the icon itself changes to > indicate something. > For example TheBat used to do that (its tray icon changes to > indicate New Mail). > That's why swzoh asked you to show us your !pproinfo!.ini file. > Presumably, if the icon changes ID, then your two lines > starting ClocX1 and ClocX2 would have been different.
Absolutely correct, Alan! More and more recent applications are doing this: besides TheBat you mentioned, foobar2000, MyIE/Maxthon ... *TrayIcon feature is going to be less and less reliable, I'm afraid. > Your results (ClocX1 = ClocX2) are not conclusive. > Maybe you were lucky and did your second training of PP > before the ID changed. Unfortunately, I found out it's correct, sort of ... ClocX=1024 31234 �ClocXAfxFrameOrView42� I think (\x13) is kind of separator between "caption" and "class". So, the above item would indicate that the trayicon window of ClocX has the caption "ClocX" and the class "AfxFrameOrView42". (I'm not sure about the role � (\xF8) and � (\xF7) in this case) But, surprisingly, there are actually two windows in this case: 1) caption "ClocX" ; class "#32770" 2) no caption at all ; class "AfxFrameOrView42" So, I deleted "�", "�", and "ClocX" from from the item in !pproinfo!.ini, then no error message appeared, but no right context menu either. Then, I tried another route. deleted "�", "�" (:these seem to have to be deleted anyway) but leave the caption untouched. Then, I set the <nul> caption of the window in 2) to "ClocX". The same result as the above, however. Well, this poggy is really odd. I changed the name of it to "clock.exe". Then start it. But, the name appeared in task manager was still "ClocX.exe"! It seems to have kind of a tag <name></name>. On the other hand, the "caption" in !pproitem!.ini was really changed to "clock". The below is the summary: ClocX=1024 31234 �clockAfxFrameOrView42� 1) caption "ClocX" (:not changed) ; class "#32770" 2) no caption at all ; class "AfxFrameOrView42" BTW, I suspect "�" & "�" played some important role since *trayicon indeed called correctly the right context menu during the training, however, don't know what role ... Sean ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Domains - Claim yours for only $14.70 http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/JV_rlB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
