Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - NotifyIcon functionality in WPF

 
 
Old 04-26-2006   #1 (permalink)
Rodrigo Estrada


 
 

NotifyIcon functionality in WPF

Hi all:
Is there an equivalent class in WPF for the NotifyIcon functionality in
WinForms. I've tried to use the System.Windows.Forms.NotifyIcon class in my
WPF app but is not working at all, it does not throw an exception, but it
does not notify either.

Many thanks in advanced....

My System SpecsSystem Spec
Old 04-27-2006   #2 (permalink)
Nick Kramer [MSFT]


 
 

Re: NotifyIcon functionality in WPF

No, there is no WPF version of NotifyIcon.

I can't think of any reason the Winforms NotifyIcon shouldn't work. Does
your NotifyIcon code work in a pure Winforms application? Did you remember
to set notifyicon.Visible = true?

--
-Nick Kramer [MSFT]

---
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

"Rodrigo Estrada" <RodrigoEstrada@discussions.microsoft.com> wrote in
message news:9DFD878F-D1D5-4576-8C7E-2C0D229AA8A4@microsoft.com...
> Hi all:
> Is there an equivalent class in WPF for the NotifyIcon functionality in
> WinForms. I've tried to use the System.Windows.Forms.NotifyIcon class in
> my
> WPF app but is not working at all, it does not throw an exception, but it
> does not notify either.
>
> Many thanks in advanced....



My System SpecsSystem Spec
Old 04-28-2006   #3 (permalink)
Arran Pearce


 
 

Re: NotifyIcon functionality in WPF

I have used the Winforms NotifyIcon in a WPF project and it works fine.


"Nick Kramer [MSFT]" <nkramer@Microsoft.com> wrote in message
news:%23YLmuTmaGHA.3376@TK2MSFTNGP05.phx.gbl...
> No, there is no WPF version of NotifyIcon.
>
> I can't think of any reason the Winforms NotifyIcon shouldn't work. Does
> your NotifyIcon code work in a pure Winforms application? Did you
> remember to set notifyicon.Visible = true?
>
> --
> -Nick Kramer [MSFT]
>
> ---
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
>
> "Rodrigo Estrada" <RodrigoEstrada@discussions.microsoft.com> wrote in
> message news:9DFD878F-D1D5-4576-8C7E-2C0D229AA8A4@microsoft.com...
>> Hi all:
>> Is there an equivalent class in WPF for the NotifyIcon functionality in
>> WinForms. I've tried to use the System.Windows.Forms.NotifyIcon class in
>> my
>> WPF app but is not working at all, it does not throw an exception, but it
>> does not notify either.
>>
>> Many thanks in advanced....

>
>



My System SpecsSystem Spec
Old 04-28-2006   #4 (permalink)
Rodrigo Estrada


 
 

Re: NotifyIcon functionality in WPF

Thanks to both, I had a mistake in my code, the NotifyIcon in my WPF app is
now working.

"Arran Pearce" wrote:

> I have used the Winforms NotifyIcon in a WPF project and it works fine.
>
>
> "Nick Kramer [MSFT]" <nkramer@Microsoft.com> wrote in message
> news:%23YLmuTmaGHA.3376@TK2MSFTNGP05.phx.gbl...
> > No, there is no WPF version of NotifyIcon.
> >
> > I can't think of any reason the Winforms NotifyIcon shouldn't work. Does
> > your NotifyIcon code work in a pure Winforms application? Did you
> > remember to set notifyicon.Visible = true?
> >
> > --
> > -Nick Kramer [MSFT]
> >
> > ---
> > This posting is provided "AS IS" with no warranties, and confers no
> > rights.
> > Use of included script samples are subject to the terms specified at
> > http://www.microsoft.com/info/cpyright.htm
> >
> > "Rodrigo Estrada" <RodrigoEstrada@discussions.microsoft.com> wrote in
> > message news:9DFD878F-D1D5-4576-8C7E-2C0D229AA8A4@microsoft.com...
> >> Hi all:
> >> Is there an equivalent class in WPF for the NotifyIcon functionality in
> >> WinForms. I've tried to use the System.Windows.Forms.NotifyIcon class in
> >> my
> >> WPF app but is not working at all, it does not throw an exception, but it
> >> does not notify either.
> >>
> >> Many thanks in advanced....

> >
> >

>
>
>

My System SpecsSystem Spec
 

Thread Tools



Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46