code of WM_MOUSEENTER ?!?

  • Thread starter Thread starter Sam
  • Start date Start date
S

Sam

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
 
Sam said:
I need the integer value of WM_MOUSEENTER.
I got the one of WM_MOUSELEAVE (675) but I can't find the one above !

The message 'WM_MOUSEENTER' doesn't exist.
 
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 ?
 
Sam,
Have you considered simply handling the Control.MouseEnter &
Control.MouseLeave events directly?

You may need to handle the Control.ControlAdded & Control.ControlRemoved
events to dynamically handle the above events for child controls.

Hope this helps
Jay

| 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
|
 
Well I had trouble doing that.
But I've used WM_MOUSEHOVER instead and it works just fine :)

Thx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top