![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| | #2 (permalink) |
| | 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 Specs![]() |
| | #3 (permalink) |
| | 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 Specs![]() |
| | #4 (permalink) |
| | 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 Specs![]() |