How to use NotifyIcon

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello NG
I just install OpenNETCF and try the Controls for watch the effect... But I see nothing apend with the NotifyIcon

How to use NotifyIcon

Thanks...

Tha
;)
 
does your application have a 16x16 icon set? Because there is no way to get
an icon handle from a managed System.Drawing.Icon we get the handle from the
icon of your exe file. If there isn't one set the notifyicon will appear
blank in the system tray.

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org

Thad said:
Hello NG,
I just install OpenNETCF and try the Controls for watch the effect...
But I see nothing apend with the NotifyIcon!
 
On that note... is it possible to change at run time the application icon?
in this way we could work around which icon appears in the TastBar?

Regards,

éric
 
No because the application icon is built into the exe file. It would be
possible with minor modifications to the code to support loading icons from
a separate native dll which has icon resources.

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org
 
Peter,

I've messed around with this a bit and found that if you include a 'set' as
the application icon - the icon comes up clear... however, if you use just a
single 16x16 icon everything works just groovey. Strange.

Rick Winscot
www.zyche.com
 
Back
Top