Windows message when mouse leave a control?
I have created a control and the mosemove for that control makes it change co开发者_运维知识库lor, 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.
精彩评论