如何传递消息呢?我在CDataGrid中用mousewheel消息时,只有在dbgrid网格外才能响应。

解决方案 »

  1.   

    用了人家的控件,就不那么好改了。
    不知道hook什么的能不能做得到。
      

  2.   

    试试在mousewheel里hittest或capture之类的地方
      

  3.   

    You can try subclassing the control window, and handle the message in your 
    own window proc. For more information about sub classing, please refer to 
    the article below:http://msdn.microsoft.com/library/en-us/dnwui/html/msdn_subclas3.asp