ToolTip popup at every mouse stationary - How to?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?U2hhcm9u?=

    ToolTip popup at every mouse stationary - How to?

    Hello,

    I'm using the ToolTip control, but I want it to behave a bit different.

    I want the toolTip to popup not only once when the control is enter and the
    mouse is stationary.
    I want the toolTip to popup every time the mouse is stationary over the
    control without the mouse leaving and entering the control again.

    How can I do that? Even by overriding the ToolTip class?


    -------
    Thanks
    Sharon
  • HillBilly

    #2
    Re: ToolTip popup at every mouse stationary - How to?

    IMO your efforts and time are best spent to learn HTML and JavaScript which
    the controls emit anyway. There are several well done robust "tooltip"
    JavaScript libraries/solutions already available if you go out looking for
    them. Sorry I don't recall any names off hand as I would certainly say so to
    give you a lead.

    "Sharon" <SharonG@newsgr oups.nospamwrot e in message
    news:13290F28-EBFA-43FF-8EC5-9B4ED895F4B5@mi crosoft.com...
    Hello,
    >
    I'm using the ToolTip control, but I want it to behave a bit different.
    >
    I want the toolTip to popup not only once when the control is enter and
    the
    mouse is stationary.
    I want the toolTip to popup every time the mouse is stationary over the
    control without the mouse leaving and entering the control again.
    >
    How can I do that? Even by overriding the ToolTip class?
    >
    >
    -------
    Thanks
    Sharon

    Comment

    • =?Utf-8?B?U2hhcm9u?=

      #3
      Re: ToolTip popup at every mouse stationary - How to?

      But can I use them in the .NET 2.0 C# environment (VS2005)?

      --
      Thanks
      Sharon


      "HillBilly" wrote:
      IMO your efforts and time are best spent to learn HTML and JavaScript which
      the controls emit anyway. There are several well done robust "tooltip"
      JavaScript libraries/solutions already available if you go out looking for
      them. Sorry I don't recall any names off hand as I would certainly say so to
      give you a lead.
      >
      "Sharon" <SharonG@newsgr oups.nospamwrot e in message
      news:13290F28-EBFA-43FF-8EC5-9B4ED895F4B5@mi crosoft.com...
      Hello,

      I'm using the ToolTip control, but I want it to behave a bit different.

      I want the toolTip to popup not only once when the control is enter and
      the
      mouse is stationary.
      I want the toolTip to popup every time the mouse is stationary over the
      control without the mouse leaving and entering the control again.

      How can I do that? Even by overriding the ToolTip class?


      -------
      Thanks
      Sharon
      >
      >

      Comment

      • HillBilly

        #4
        Re: ToolTip popup at every mouse stationary - How to?

        Sure of course. Its a matter of learning to become competent to learn how
        noting its sounding as if you do not understand two fundamentals yet. We all
        started somewhere eh? :-) The web is referred to as client-server
        architecture. You've probably heard that.

        There is code that is run on the server like C# that we refer to as
        server-side code which is used to access the database and do other tasks on
        the server required to build the page. Once the page is returned to the
        client (browser) the code that runs in the page is called client-side code.
        These days client-side code is always JavaScript regardless of the Windows,
        Mac or Linux platform or which browser us being used. Its because the
        JavaScript is downloaded with the page is put onto the file system where the
        client can access and run the code without a trip back to the server.

        In the traditional HTML web development page model there's no way to master
        web development without acquiring some mastery of JavaScript. Your choice to
        use C# was wise as both JavaScript and C# come from the legacy language C
        and as such they have exactly the same punctuation so even though there are
        other differences we learn two languages for the price of one so to speak.


        "Sharon" <SharonG@newsgr oups.nospamwrot e in message
        news:94706D79-909B-42EC-9428-37E1EA1B2054@mi crosoft.com...
        But can I use them in the .NET 2.0 C# environment (VS2005)?
        >
        --
        Thanks
        Sharon
        >
        >
        "HillBilly" wrote:
        >
        >IMO your efforts and time are best spent to learn HTML and JavaScript
        >which
        >the controls emit anyway. There are several well done robust "tooltip"
        >JavaScript libraries/solutions already available if you go out looking
        >for
        >them. Sorry I don't recall any names off hand as I would certainly say so
        >to
        >give you a lead.
        >>
        >"Sharon" <SharonG@newsgr oups.nospamwrot e in message
        >news:13290F2 8-EBFA-43FF-8EC5-9B4ED895F4B5@mi crosoft.com...
        Hello,
        >
        I'm using the ToolTip control, but I want it to behave a bit different.
        >
        I want the toolTip to popup not only once when the control is enter and
        the
        mouse is stationary.
        I want the toolTip to popup every time the mouse is stationary over the
        control without the mouse leaving and entering the control again.
        >
        How can I do that? Even by overriding the ToolTip class?
        >
        >
        -------
        Thanks
        Sharon
        >>
        >>

        Comment

        • HillBilly

          #5
          Re: ToolTip popup at every mouse stationary - How to?

          This just came to my attention in a newsletter...



          "Sharon" <SharonG@newsgr oups.nospamwrot e in message
          news:94706D79-909B-42EC-9428-37E1EA1B2054@mi crosoft.com...
          But can I use them in the .NET 2.0 C# environment (VS2005)?
          >
          --
          Thanks
          Sharon
          >
          >
          "HillBilly" wrote:
          >
          >IMO your efforts and time are best spent to learn HTML and JavaScript
          >which
          >the controls emit anyway. There are several well done robust "tooltip"
          >JavaScript libraries/solutions already available if you go out looking
          >for
          >them. Sorry I don't recall any names off hand as I would certainly say so
          >to
          >give you a lead.
          >>
          >"Sharon" <SharonG@newsgr oups.nospamwrot e in message
          >news:13290F2 8-EBFA-43FF-8EC5-9B4ED895F4B5@mi crosoft.com...
          Hello,
          >
          I'm using the ToolTip control, but I want it to behave a bit different.
          >
          I want the toolTip to popup not only once when the control is enter and
          the
          mouse is stationary.
          I want the toolTip to popup every time the mouse is stationary over the
          control without the mouse leaving and entering the control again.
          >
          How can I do that? Even by overriding the ToolTip class?
          >
          >
          -------
          Thanks
          Sharon
          >>
          >>

          Comment

          • Andy

            #6
            Re: ToolTip popup at every mouse stationary - How to?

            Why do you assume he's even using a web project at all? It sounded
            like the standard ToolTip windows forms component to me.. and he could
            probably do what he wants by subclassing the tooltip component.

            Andy

            On Aug 5, 12:03 pm, "HillBilly" <someb...@somew here.comwrote:
            Sure of course. Its a matter of learning to become competent to learn how
            noting its sounding as if you do not understand two fundamentals yet. We all
            started somewhere eh? :-) The web is referred to as client-server
            architecture. You've probably heard that.
            >
            There is code that is run on the server like C# that we refer to as
            server-side code which is used to access the database and do other tasks on
            the server required to build the page. Once the page is returned to the
            client (browser) the code that runs in the page is called client-side code.
            These days client-side code is always JavaScript regardless of the Windows,
            Mac or Linux platform or which browser us being used. Its because the
            JavaScript is downloaded with the page is put onto the file system where the
            client can access and run the code without a trip back to the server.
            >
            In the traditional HTML web development page model there's no way to master
            web development without acquiring some mastery of JavaScript. Your choiceto
            use C# was wise as both JavaScript and C# come from the legacy language C
            and as such they have exactly the same punctuation so even though there are
            other differences we learn two languages for the price of one so to speak..

            Comment

            • HillBilly

              #7
              Re: ToolTip popup at every mouse stationary - How to?

              Uh, probably for the same reason you assume she is a he!

              "Andy" <andyj@med-associates.comw rote in message
              news:0be22269-c9ab-463c-a7c3-2d3414d6680b@f6 3g2000hsf.googl egroups.com...
              Why do you assume he's even using a web project at all? It sounded
              like the standard ToolTip windows forms component to me.. and he could
              probably do what he wants by subclassing the tooltip component.

              Andy

              On Aug 5, 12:03 pm, "HillBilly" <someb...@somew here.comwrote:
              Sure of course. Its a matter of learning to become competent to learn how
              noting its sounding as if you do not understand two fundamentals yet. We
              all
              started somewhere eh? :-) The web is referred to as client-server
              architecture. You've probably heard that.
              >
              There is code that is run on the server like C# that we refer to as
              server-side code which is used to access the database and do other tasks
              on
              the server required to build the page. Once the page is returned to the
              client (browser) the code that runs in the page is called client-side
              code.
              These days client-side code is always JavaScript regardless of the
              Windows,
              Mac or Linux platform or which browser us being used. Its because the
              JavaScript is downloaded with the page is put onto the file system where
              the
              client can access and run the code without a trip back to the server.
              >
              In the traditional HTML web development page model there's no way to
              master
              web development without acquiring some mastery of JavaScript. Your choice
              to
              use C# was wise as both JavaScript and C# come from the legacy language C
              and as such they have exactly the same punctuation so even though there
              are
              other differences we learn two languages for the price of one so to speak.

              Comment

              • =?Utf-8?B?U2hhcm9u?=

                #8
                Re: ToolTip popup at every mouse stationary - How to?

                Well, I am developing a win Form project/ application and not a web
                application.
                Also using the .NET 20 with VS2005.

                I did tried derived the System.Windows. Forms.ToolTip but there is nothing
                more I can do to make it work like I want it to.

                I'm now working on using a System.Windows. Forms.Timer to be used in the
                MouseMove event and the timer event to show and hide the ToolTip manually.
                and it's workiing nice, but still some issues that mess it up, like the
                mouseMove event is fired even when the mouse is not moving, causing my timer
                to start and stop over and over.

                Still; I very much like to use the ToolTip or any other variation of it to
                do the job...

                Any ideas?


                BTW - You can assume I'm a he and not a she...


                --
                Thanks
                Sharon

                Comment

                Working...