the Mouse Wheel Event and the MSHFlexGird problem
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I haved binded the MSHFlexGrid with a recordset, and now I want the result that if I scroll the mouse wheel, the record showed in the MSHFlexGrid would scroll(like the effect as we scroll the mouse wheel while we read a web page,the scrollbar move up or down);I have coded below: BOOL Class::OnMouseWheel(UINT nFlags, short zDelta, CPoint pt) { // TODO: Make the mouse wheel take the MSHFlexGrid scroll this->m_cHFlexGridPerform.SetScrollTrack(true); //Would u tell me how can I make it work please return CFormView::OnMouseWheel(nFlags, zDelta, pt); } thank you in advance;