gary_williams
asked on
procedure to select an item in the popup menu of an arbitrary icon in the system tray
I would like a procedure to select (simulate a mouse click on) an item in the right-click popup menu of an arbitrary (i.e. third-party) icon (application) in the system tray.
I imagine the parameters would be something like
Blah(TrayIconHandle: THandle; MenuCaption: String);
or
Blah(TrayApplicationEXENam e: String; MenuCaption: String);
or
Blah(WindowClassName: String; MenuCaption: String);
...or something similar.
I imagine the parameters would be something like
Blah(TrayIconHandle: THandle; MenuCaption: String);
or
Blah(TrayApplicationEXENam
or
Blah(WindowClassName: String; MenuCaption: String);
...or something similar.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Try D:\Borland\Delphi5\Bin\ws3 2.exe or wherever else you have Delphi installed. Delphi has a tool called WinSight that's doing something similar to WinSpy and those tools. ;-)
And to be honest, there are hundreds of these kinds of message spy tools. They're not too hard to make yourself once you're familiar with Windows hooks...
And to be honest, there are hundreds of these kinds of message spy tools. They're not too hard to make yourself once you're familiar with Windows hooks...
ASKER