Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. using Notifyicon

using Notifyicon

Scheduled Pinned Locked Moved Visual Basic
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vijaylumar
    wrote on last edited by
    #1

    hi i m using notify icon for a windows application i have a lengthy function in which i display msg using the tooltip of notify icon. i have 10 msgs to be displayed using notifyicon when i run it is showing the last 10th msg only my reqirement is it should show 10 msgs with a time gap one after another

    I 1 Reply Last reply
    0
    • V vijaylumar

      hi i m using notify icon for a windows application i have a lengthy function in which i display msg using the tooltip of notify icon. i have 10 msgs to be displayed using notifyicon when i run it is showing the last 10th msg only my reqirement is it should show 10 msgs with a time gap one after another

      I Offline
      I Offline
      i i i
      wrote on last edited by
      #2

      Can you put your that part of source Code , if possible. :)

      Best Regards, SOFTDEV If you have knowledge, let others light their candles at it

      V 1 Reply Last reply
      0
      • I i i i

        Can you put your that part of source Code , if possible. :)

        Best Regards, SOFTDEV If you have knowledge, let others light their candles at it

        V Offline
        V Offline
        vijaylumar
        wrote on last edited by
        #3

        hi here is the code NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) IntialiseH() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) VerticalForces_a() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) HorizontalForces_b() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) Reactions_c() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) InclinedWallsPressure_d_e() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) LoadOnSloppedWalls_f() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) DesignOfInclinedPlate_g() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) i can see the last msg clearly

        D 1 Reply Last reply
        0
        • V vijaylumar

          hi here is the code NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) IntialiseH() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) VerticalForces_a() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) HorizontalForces_b() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) Reactions_c() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) InclinedWallsPressure_d_e() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) LoadOnSloppedWalls_f() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) DesignOfInclinedPlate_g() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) i can see the last msg clearly

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          The reason it doesn't work is because your code never releases control so that the message pump can process the messages to update the tooltip. Your work should be done in a background thread, freeing the UI thread (and the message pump on it) to hand the updates to your visuals.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008
          But no longer in 2009...

          V 1 Reply Last reply
          0
          • D Dave Kreskowiak

            The reason it doesn't work is because your code never releases control so that the message pump can process the messages to update the tooltip. Your work should be done in a background thread, freeing the UI thread (and the message pump on it) to hand the updates to your visuals.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007, 2008
            But no longer in 2009...

            V Offline
            V Offline
            vijaylumar
            wrote on last edited by
            #5

            hi thanks for your reply can you give any link regarding this

            D 1 Reply Last reply
            0
            • V vijaylumar

              hi thanks for your reply can you give any link regarding this

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              Go to Google and start typing "vb.net threading". You'll see lots of other search suggestions. This is a topic that has been written about countless times.

              A guide to posting questions on CodeProject[^]
              Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                   2006, 2007, 2008
              But no longer in 2009...

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups