NotifyIcon - OwnderDraw Event Workaround needed

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Trevor Benedict R

    #1

    NotifyIcon - OwnderDraw Event Workaround needed

    Hi,
    Does anybody have a workaround for this problem


    What I am trying to achieve is to to display an Icon in the System Tray and
    on the right click event, I want to display a Menu with Icons.

    Thanks & Regards,

    Trevor Benedict


  • G Himangi

    #2
    Re: NotifyIcon - OwnderDraw Event Workaround needed

    I don't think this bug is present in .Net 2.0. You can consider using that.

    ---------
    - G Himangi, Sky Software http://www.ssware.com
    Shell MegaPack : GUI Controls For Drop-In Windows Explorer like Shell
    Browsing Functionality For Your App (.Net & ActiveX Editions).
    EZNamespaceExte nsions.Net : Develop namespace extensions rapidly in .Net
    EZShellExtensio ns.Net : Develop all shell extensions,expl orer bars and BHOs
    rapidly in .Net
    ---------


    "Trevor Benedict R" <trevornews@yah oo.comwrote in message
    news:%23cKpml$m HHA.2596@TK2MSF TNGP06.phx.gbl. ..
    Hi,
    Does anybody have a workaround for this problem

    >
    What I am trying to achieve is to to display an Icon in the System Tray
    and on the right click event, I want to display a Menu with Icons.
    >
    Thanks & Regards,
    >
    Trevor Benedict
    >
    >

    Comment

    • Trevor Benedict R

      #3
      Re: NotifyIcon - OwnderDraw Event Workaround needed

      Thanks Himangi. But that is not an option due to corporate IT policies
      (funny).

      Regards,

      Trevor Benedict

      "G Himangi" <info@ssware.co mwrote in message
      news:e4SRd0QnHH A.3968@TK2MSFTN GP06.phx.gbl...
      >I don't think this bug is present in .Net 2.0. You can consider using that.
      >
      ---------
      - G Himangi, Sky Software http://www.ssware.com
      Shell MegaPack : GUI Controls For Drop-In Windows Explorer like Shell
      Browsing Functionality For Your App (.Net & ActiveX Editions).
      EZNamespaceExte nsions.Net : Develop namespace extensions rapidly in .Net
      EZShellExtensio ns.Net : Develop all shell extensions,expl orer bars and
      BHOs rapidly in .Net
      ---------
      >
      >
      "Trevor Benedict R" <trevornews@yah oo.comwrote in message
      news:%23cKpml$m HHA.2596@TK2MSF TNGP06.phx.gbl. ..
      >Hi,
      >Does anybody have a workaround for this problem
      >http://support.microsoft.com/kb/827043
      >>
      >What I am trying to achieve is to to display an Icon in the System Tray
      >and on the right click event, I want to display a Menu with Icons.
      >>
      >Thanks & Regards,
      >>
      >Trevor Benedict
      >>
      >>
      >
      >

      Comment

      • Mick Doherty

        #4
        Re: NotifyIcon - OwnderDraw Event Workaround needed

        You've got to be quick as MS are phasing out GotDotNet (and in fact have
        phased out most of it already), but Hans Blomme created a NotifyIcon XP
        component to add baloon tips in 2003 and uploaded the source code. OwnerDraw
        context menus work just fine with that component and it should satisfy your
        IT policies since it includes full source code.


        Other than that, you could always create an offscreen form and use
        ContextMenu.Sho w(), as that will pass on the WM_MEASUREITEM and WM_DRAWITEM
        messages.

        --
        Mick Doherty
        Dotnetrix offers Nothing. Standard and Premium versions available.



        "Trevor Benedict R" <trevornews@yah oo.comwrote in message
        news:O8RiJdVnHH A.1240@TK2MSFTN GP04.phx.gbl...
        Thanks Himangi. But that is not an option due to corporate IT policies
        (funny).
        >
        Regards,
        >
        Trevor Benedict
        >
        "G Himangi" <info@ssware.co mwrote in message
        news:e4SRd0QnHH A.3968@TK2MSFTN GP06.phx.gbl...
        >>I don't think this bug is present in .Net 2.0. You can consider using
        >>that.
        >>
        >---------
        >- G Himangi, Sky Software http://www.ssware.com
        >Shell MegaPack : GUI Controls For Drop-In Windows Explorer like Shell
        >Browsing Functionality For Your App (.Net & ActiveX Editions).
        >EZNamespaceExt ensions.Net : Develop namespace extensions rapidly in .Net
        >EZShellExtensi ons.Net : Develop all shell extensions,expl orer bars and
        >BHOs rapidly in .Net
        >---------
        >>
        >>
        >"Trevor Benedict R" <trevornews@yah oo.comwrote in message
        >news:%23cKpml$ mHHA.2596@TK2MS FTNGP06.phx.gbl ...
        >>Hi,
        >>Does anybody have a workaround for this problem
        >>http://support.microsoft.com/kb/827043
        >>>
        >>What I am trying to achieve is to to display an Icon in the System Tray
        >>and on the right click event, I want to display a Menu with Icons.
        >>>
        >>Thanks & Regards,
        >>>
        >>Trevor Benedict
        >>>
        >>>
        >>
        >>
        >
        >

        Comment

        • Trevor Benedict R

          #5
          Re: NotifyIcon - OwnderDraw Event Workaround needed

          Thanks Mick. Let me check it out.

          "Mick Doherty"
          <EXCHANGE#WITH@ AND.REMOVE.SQUA REBRACKETS.[mdaudi100#ntlwo rld.com]wrote in
          message news:O$zaURYnHH A.668@TK2MSFTNG P05.phx.gbl...
          You've got to be quick as MS are phasing out GotDotNet (and in fact have
          phased out most of it already), but Hans Blomme created a NotifyIcon XP
          component to add baloon tips in 2003 and uploaded the source code.
          OwnerDraw context menus work just fine with that component and it should
          satisfy your IT policies since it includes full source code.

          >
          Other than that, you could always create an offscreen form and use
          ContextMenu.Sho w(), as that will pass on the WM_MEASUREITEM and
          WM_DRAWITEM messages.
          >
          --
          Mick Doherty
          Dotnetrix offers Nothing. Standard and Premium versions available.

          >
          >
          "Trevor Benedict R" <trevornews@yah oo.comwrote in message
          news:O8RiJdVnHH A.1240@TK2MSFTN GP04.phx.gbl...
          >Thanks Himangi. But that is not an option due to corporate IT policies
          >(funny).
          >>
          >Regards,
          >>
          >Trevor Benedict
          >>
          >"G Himangi" <info@ssware.co mwrote in message
          >news:e4SRd0QnH HA.3968@TK2MSFT NGP06.phx.gbl.. .
          >>>I don't think this bug is present in .Net 2.0. You can consider using
          >>>that.
          >>>
          >>---------
          >>- G Himangi, Sky Software http://www.ssware.com
          >>Shell MegaPack : GUI Controls For Drop-In Windows Explorer like Shell
          >>Browsing Functionality For Your App (.Net & ActiveX Editions).
          >>EZNamespaceEx tensions.Net : Develop namespace extensions rapidly in .Net
          >>EZShellExtens ions.Net : Develop all shell extensions,expl orer bars and
          >>BHOs rapidly in .Net
          >>---------
          >>>
          >>>
          >>"Trevor Benedict R" <trevornews@yah oo.comwrote in message
          >>news:%23cKpml $mHHA.2596@TK2M SFTNGP06.phx.gb l...
          >>>Hi,
          >>>Does anybody have a workaround for this problem
          >>>http://support.microsoft.com/kb/827043
          >>>>
          >>>What I am trying to achieve is to to display an Icon in the System Tray
          >>>and on the right click event, I want to display a Menu with Icons.
          >>>>
          >>>Thanks & Regards,
          >>>>
          >>>Trevor Benedict

          Comment

          Working...