WPF Hover over icon in Navigation area to produce tooltip?

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of Derf User Derf User 3 months, 1 week ago.

  • Author
    Posts
  • #60411
    Profile photo of Derf User
    Derf User
    Participant

    When I hover over the icon in the navigation bar I need to create a message (like the 'Safely Remove Hardware..' of the USB icon) 'Click here to Exit'. This what I use to create the icon:

    $notifyIcon.Icon = $icon 
    $notifyIcon.BalloonTipIcon  = "Info" 
    $notifyIcon.BalloonTipTitle = "Powershell Search"
    $notifyIcon.BalloonTipText  = "Loading Search GUI. Please wait ..."
    $notifyIcon.Visible = $True 
    $notifyIcon.ShowBalloonTip(50)
    #Create mouse hover box here.
    $notifyIcon.add_Click({                         
        $notifyIcon.Visible = $false
        $form.Close()
        Stop-Process $pid
    })
    

    I know I can use Add-MouseEnter, but I do not want a ToolTip message here.

  • #60414
    Profile photo of Dan Potter
    Dan Potter
    Participant

    confused. You want a message but not a tooltip?

    • #60417
      Profile photo of Derf User
      Derf User
      Participant

      Exactly. When you hover over any item in the Navigation area a tooltip appears. I need to reproduce that if possible.

You must be logged in to reply to this topic.