Windows Vista Forums

NotifyIcon functionality in WPF
  1. #1


    Rodrigo Estrada Guest

    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

  2. #2


    Nick Kramer [MSFT] Guest

    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

  3. #3


    Arran Pearce Guest

    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

  4. #4


    Rodrigo Estrada Guest

    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

NotifyIcon functionality in WPF problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
NotifyIcon analog Andrew Koryavchenko [Solution Architect MVP] Avalon 1 23 Mar 2007
How to use NotifyIcon in WPF Green Horse Avalon 0 25 Sep 2006
How to use NotifyIcon in WPF Green Horse Avalon 0 25 Sep 2006
How to use NotifyIcon in WPF Green Horse Avalon 0 25 Sep 2006
How to use Winform NotifyIcon in WPF Green Horse Avalon 0 25 Sep 2006