WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Systray Icon Questions

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Norton Anti Virus Systray Icon Questions

Keywords: 	  Norton Anti Virus Systray Icon

Question:

When mail is coming or going Norton AntiVirus conveniently puts an animated icon in the system tray. (Similarly Outlook Express puts one there when a new message appears.) But these are not WinBatch icons or processes so I do not see how IntControl 107 would be useful in detecting them. They don't seem to have windows or .EXEs associated with them that aren't there when the mail isn't coming or going. The mouseover messages are unique but the issue is how to detect them? Thanks...

Answer:

On newer versions of windows

ME 2000 XP

The tray area is a type of button bar that the Control Manager extender can "see", specifically a Toolbar32 type window.

Maybe get RoboScripter out to look at it and write the code for you.

On Win98, I think maybe it used an older version of the systray code.

Run RoboScripter, cancel the trequest to run a program, and pull the crosshairs over the systray area. What does it say the class of the window is.

Question (cont'd):

It's a "TrayNotifyWnd", though it has an ID. RoboScript seems to return the same values regardless which tray icon is being shot at. The following pasted:
;Title: 
;ID: 303
;Class: TrayNotifyWnd
;Level: 2
window1=cWndByWndSpec("Shell_TrayWnd","EXPLORER",3,304,303,40965)
ControlHandle=cWndByID(window1,303)
; or ControlHandle=cWndByClass(window1,`TrayNotifyWnd`)
; or ControlHandle=cWndBySeq(window1,2)
;ControlHandle contains control handle ; TODO - Add code

Answer:

Yes, that the old one. You are out of luck. We've never been able to figure that one out.
Article ID:   W15302
File Created: 2002:09:05:13:51:14
Last Updated: 2002:09:05:13:51:14