This project is read-only.
1

Closed

control类的Lbuttonup,LButtonDown,MouseMOve不能使用啊

description

BUTTON的可以,看代码好像BUTTON得Lbuttonup,LButtonDown,MouseMOve是单独实现的,control类什么时候可以实现啊?
Closed Sep 3, 2010 at 6:21 AM by wpwen

comments

wpwen wrote Jun 28, 2010 at 3:30 AM

Control类是一个抽象类,其中的Lbuttonup,LButtonDown,MouseMove需要在每个控件中单独实现。
可以在每个MzFC控件的Wrapper文件中,将Lbuttonup,LButtonDown,MouseMove的委托放入控件构造函数中来实现截获这些消息,
也可以通过重载WndProc函数来截获这些消息实现事件。

wrote Sep 3, 2010 at 6:21 AM

wrote Feb 2, 2013 at 5:48 AM

wrote May 14, 2013 at 1:24 AM