开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜