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. C#
  4. ToolTip with Close button

ToolTip with Close button

Scheduled Pinned Locked Moved C#
helptutorialquestion
5 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.
  • S Offline
    S Offline
    San 0
    wrote on last edited by
    #1

    Hi all, How to add a close button to System.Windows.Forms.ToolTip ? Please help me. Thanks in advance San

    N 1 Reply Last reply
    0
    • S San 0

      Hi all, How to add a close button to System.Windows.Forms.ToolTip ? Please help me. Thanks in advance San

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Standard tool tip don't have close button. You need to create your own tool tip by deriving from System.Windows.Forms.ToolTip and setting OwnerDraw as true. Handle the draw event to add your code.

      Navaneeth How to use google | Ask smart questions

      S 1 Reply Last reply
      0
      • N N a v a n e e t h

        Standard tool tip don't have close button. You need to create your own tool tip by deriving from System.Windows.Forms.ToolTip and setting OwnerDraw as true. Handle the draw event to add your code.

        Navaneeth How to use google | Ask smart questions

        S Offline
        S Offline
        San 0
        wrote on last edited by
        #3

        I there any sample code available?

        N 1 Reply Last reply
        0
        • S San 0

          I there any sample code available?

          N Offline
          N Offline
          N a v a n e e t h
          wrote on last edited by
          #4

          Well, I got one here[^]. It shows how to create owner drawn tooltip.

          Navaneeth How to use google | Ask smart questions

          M 1 Reply Last reply
          0
          • N N a v a n e e t h

            Well, I got one here[^]. It shows how to create owner drawn tooltip.

            Navaneeth How to use google | Ask smart questions

            M Offline
            M Offline
            MadArtSoft
            wrote on last edited by
            #5

            Maybe better use customised MessageBox with buttons.

            C# controls, .Net components. Help Desk Software

            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