code of WM_MOUSEENTER ?!?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sam

    #1

    code of WM_MOUSEENTER ?!?

    Hi,

    I need the integer value of WM_MOUSEENTER.
    I got the one of WM_MOUSELEAVE (675) but I can't find the one above !

    Can you help ?

    Thx

  • Herfried K. Wagner [MVP]

    #2
    Re: code of WM_MOUSEENTER ?!?

    "Sam" <samuel.berthel ot@voila.fr> schrieb:[color=blue]
    > I need the integer value of WM_MOUSEENTER.
    > I got the one of WM_MOUSELEAVE (675) but I can't find the one above ![/color]

    The message 'WM_MOUSEENTER' doesn't exist.

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://classicvb.org/petition/>

    Comment

    • Sam

      #3
      Re: code of WM_MOUSEENTER ?!?

      That's what I thought.... humm so what can I use instead ?

      Thx

      Comment

      • Herfried K. Wagner [MVP]

        #4
        Re: code of WM_MOUSEENTER ?!?

        "Sam" <samuel.berthel ot@voila.fr> schrieb:[color=blue]
        > That's what I thought.... humm so what can I use instead ?[/color]

        What do you want to archieve?

        --
        M S Herfried K. Wagner
        M V P <URL:http://dotnet.mvps.org/>
        V B <URL:http://classicvb.org/petition/>

        Comment

        • Sam

          #5
          Re: code of WM_MOUSEENTER ?!?

          I have inherited the panel control so it is a docking panel. When the
          mouse leaves any o the child controls of the panel, I do a check using
          WM_MOUSELEAVE to verify if the mouse has left the panel's rectangle or
          not. Now I would like to use WM_MOUSEENTER (or something else as it
          doesn't exist) so that when the mouse leaves the panel but get back to
          it after less than my timer's delay, the timer is canceled and the
          panel doesn't collapsed.

          Any idea what I could use ? WM_MOUSEHOVER maybe ?

          Comment

          • Jay B. Harlow [MVP - Outlook]

            #6
            Re: code of WM_MOUSEENTER ?!?

            Sam,
            Have you considered simply handling the Control.MouseEn ter &
            Control.MouseLe ave events directly?

            You may need to handle the Control.Control Added & Control.Control Removed
            events to dynamically handle the above events for child controls.

            Hope this helps
            Jay

            "Sam" <samuel.berthel ot@voila.fr> wrote in message
            news:1121073951 .969051.318390@ g47g2000cwa.goo glegroups.com.. .
            | Hi,
            |
            | I need the integer value of WM_MOUSEENTER.
            | I got the one of WM_MOUSELEAVE (675) but I can't find the one above !
            |
            | Can you help ?
            |
            | Thx
            |


            Comment

            • Sam

              #7
              Re: code of WM_MOUSEENTER ?!?

              Well I had trouble doing that.
              But I've used WM_MOUSEHOVER instead and it works just fine :)

              Thx

              Comment

              Working...