摘要: CWND对象鼠标中键事件响应,除了重写相应的消息响应函数外,还有一个很重要的是该对象要获取焦点后才能响应,具体实现如下.h文件protected://{{AFX_MSG(CChartRightRule)//NOTE - the ClassWizard will add and remove member function here.afx_msg void OnMouseMove(UINT nFlags, CPoint point); //用于设置僬点afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt); //具体的.. 阅读全文
posted @ 2011-09-01 10:37 ~笑 阅读(283) 评论(0) 推荐(1) 编辑
摘要: CWND对象鼠标中键事件响应,除了重写相应的消息响应函数外,还有一个很重要的是该对象要获取焦点后才能响应,具体实现如下.h文件protected://{{AFX_MSG(CChartRightRule)//NOTE - the ClassWizard will add and remove member function here.afx_msg void OnMouseMove(UINT nFlags, CPoint point); //用于设置僬点afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt); //具体的.. 阅读全文
posted @ 2011-09-01 10:37 ~笑 阅读(922) 评论(0) 推荐(0) 编辑