Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个相当复杂的用户控件。它有一个包含整个控件的滚动条。如何向控件添加 MouseWheel 支持?我是否必须对整个控件进行子类化并收听WM_MOUSEWHEEL消息?或者,还有更好的方法?
WM_MOUSEWHEEL