I have created a control and the mosemove for that control makes it change color, but I want to change it back to default when my mouse moves out of that control. I would have thought WM_MOUSELEAVE would do it but it didn't.
Thanks
I have created a control and the mosemove for that control makes it change color, but I want to change it back to default when my mouse moves out of that control. I would have thought WM_MOUSELEAVE would do it but it didn't.
Thanks
That would be the correct message.
Are you calling TrackMouseEvent?
You could try with WM_MOUSELEAVE (we have this in a CView derived class )
But I think the best way is to use _TrackMouseEvent.
Max.