Results 1 to 3 of 3

Thread: mousemove question

  1. #1

    Thread Starter
    Registered User Olly's Avatar
    Join Date
    Apr 2001
    Location
    Switzerland
    Posts
    252

    Angry mousemove/hover effect question

    Hi everybody!
    I'm actually trying to change the image of a PictureBox when the user
    points with his mouse over it. But my problem is that the MouseMove event doesn't catch that properly. For example when the user moves the mousepointer too fast over the pic or out of the pic and the form,
    it simply won't call the mousemove event and stay as it is.
    What I need would be some sort of fast reacting Hover without having to add the mousemove event to every other object in the form in order to change the mouseover pic of the picturebox back to normal.
    Currently I'm using some 3rd party buttons which do that job, but I think there's also an api solution for that which I've seen somewhere but I can't remember anymore how it worked.
    I hope you understand what I mean.

    thx in advance for your help, greatly appreciated
    Last edited by Olly; Apr 26th, 2001 at 04:02 AM.

  2. #2
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892
    The API function that you were thinking of is probably TrackMouseEvent.
    Click this smily:

  3. #3

    Thread Starter
    Registered User Olly's Avatar
    Join Date
    Apr 2001
    Location
    Switzerland
    Posts
    252

    Smile

    yes, that's right, i read the statement of Steve McMahon to that, it seems to be a real tough problem which has many different solutions even depending on the os. So it still needs a dll but at least I don't need to use that other third party thing any more. Thx.

    (not supported under win95 or nt 3.51, you would need to install a new COMCTL32.DLL first)
    Last edited by Olly; Apr 27th, 2001 at 02:43 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width