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
;)

Re: How to use NotifyIcon by Peter

Peter
Wed Feb 25 12:41:19 CST 2004

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" <anonymous@discussions.microsoft.com> wrote in message
news:57909CD5-4625-4810-B7D9-00AD9564CAEC@microsoft.com...
> 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....
>
>
> Thad
> ;)



Re: How to use NotifyIcon by éric

éric
Wed Feb 25 12:48:55 CST 2004

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

"Peter Foot [MVP]" <feedback@nospam-inthehand.com> wrote in message
news:eaCI478%23DHA.3712@tk2msftngp13.phx.gbl...
> 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" <anonymous@discussions.microsoft.com> wrote in message
> news:57909CD5-4625-4810-B7D9-00AD9564CAEC@microsoft.com...
> > 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....
> >
> >
> > Thad
> > ;)
>
>



Re: How to use NotifyIcon by Peter

Peter
Wed Feb 25 16:40:25 CST 2004

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

"éric" <eric@westgen.com> wrote in message
news:eO5eGA9%23DHA.2808@TK2MSFTNGP10.phx.gbl...
> 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
>
> "Peter Foot [MVP]" <feedback@nospam-inthehand.com> wrote in message
> news:eaCI478%23DHA.3712@tk2msftngp13.phx.gbl...
> > 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" <anonymous@discussions.microsoft.com> wrote in message
> > news:57909CD5-4625-4810-B7D9-00AD9564CAEC@microsoft.com...
> > > 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....
> > >
> > >
> > > Thad
> > > ;)
> >
> >
>
>



Re: How to use NotifyIcon by Rick

Rick
Wed Mar 03 16:39:27 CST 2004

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

"Peter Foot [MVP]" <feedback@nospam-inthehand.com> wrote in message
news:eaCI478#DHA.3712@tk2msftngp13.phx.gbl...
> 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" <anonymous@discussions.microsoft.com> wrote in message
> news:57909CD5-4625-4810-B7D9-00AD9564CAEC@microsoft.com...
> > 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....
> >
> >
> > Thad
> > ;)
>
>