Global (System Tray) Icon
4 posts
• Page 1 of 1
Global (System Tray) Icon
Advance apologies for taking so long to spot this, and missing any obvious solution, but...
Just today I noticed that my WPF-based APLets display a generic Dyalog icon in the System Tray; but my APL/W native APLets all have their own individual icons. Being - as I am - ashamed to admit to using APL I would like to have the WPF-based APLets also show specific icons.
After taking far longer than I ought to figure out how the native APLets were doing their thing (setting #.IconObj - but you all knew that) I can see an easy "APL" way to put things right.
My question is whether there's a "purer" way to do this entirely within WPF (setting Window icons is easy - I can do that - but what foxes me is whether there's a .NET or WPF equivalent to #.IconObj←whateveritis.
Just today I noticed that my WPF-based APLets display a generic Dyalog icon in the System Tray; but my APL/W native APLets all have their own individual icons. Being - as I am - ashamed to admit to using APL I would like to have the WPF-based APLets also show specific icons.
After taking far longer than I ought to figure out how the native APLets were doing their thing (setting #.IconObj - but you all knew that) I can see an easy "APL" way to put things right.
My question is whether there's a "purer" way to do this entirely within WPF (setting Window icons is easy - I can do that - but what foxes me is whether there's a .NET or WPF equivalent to #.IconObj←whateveritis.
Visit http://apl.dickbowman.com to read more from Dick Bowman
-
Dick Bowman - Posts: 235
- Joined: Thu Jun 18, 2009 4:55 pm
Re: Global (System Tray) Icon
Hello Dick, I am not sure I understand your question, but this link explain a way to set the Icon of a WPF window while using Dyalog APL.
-
PGilbert - Posts: 440
- Joined: Sun Dec 13, 2009 8:46 pm
- Location: Montréal, Québec, Canada
Re: Global (System Tray) Icon
Thanks - not sure I understand your answer...
My interest is in setting the icon that appears in the System Tray (the little popup window that contains stuff like "safely remove your USB devices"), so that it's "my" icon and not Dyalog's. The icons for the application window and TaskBar are fine.
As I say #.IconObj does the business - I just wondered whether there was something using .NET/WPF more directly (if less easily).
My interest is in setting the icon that appears in the System Tray (the little popup window that contains stuff like "safely remove your USB devices"), so that it's "my" icon and not Dyalog's. The icons for the application window and TaskBar are fine.
As I say #.IconObj does the business - I just wondered whether there was something using .NET/WPF more directly (if less easily).
Visit http://apl.dickbowman.com to read more from Dick Bowman
-
Dick Bowman - Posts: 235
- Joined: Thu Jun 18, 2009 4:55 pm
Re: Global (System Tray) Icon
Could you use a NotifyIcon like it was discussed here but without the balloon ?
-
PGilbert - Posts: 440
- Joined: Sun Dec 13, 2009 8:46 pm
- Location: Montréal, Québec, Canada
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group