Control does not respond to onmousemove

Source: Internet
Author: User

Original link: http://bbs.csdn.net/topics/370017205

Q: I inherited CStatic wrote a Cstaticex, set to rectangle type, used for drawing.
Add this control to a view. In the control class, the message Response On_wm_mousemove () is added, but the mouse moves without responding. I added another On_wm_lbuttondown (), and I still don't respond.
I put On_wm_mousemove () and On_wm_lbuttondown () in the view, so I can respond.
Why is that? Thank you!

Answer: ModifyStyle (0, ss_notify)

Control does not respond to onmousemove

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.