junwebhead
Programmer
Hi everybody!
I've been trying to simulate the freeze pane function just like in excel using two listview controls. What I did initially is to subclass WM_VSCROLL message of the first listview and then send that message to the other. But my problem is when I drag the scroll bar of the first listview, the other listview is not responding. I also want to synchronize the scrolling when the user uses the mouse wheel. For now, what I did to avoid confusion in my application is to disable the WM_WHEEL and trap the WM_VSCROLL message when the user drags the scroll bar in scrolling. Please help me how to overcome these problems.
Thanks in advance!
Jun
I've been trying to simulate the freeze pane function just like in excel using two listview controls. What I did initially is to subclass WM_VSCROLL message of the first listview and then send that message to the other. But my problem is when I drag the scroll bar of the first listview, the other listview is not responding. I also want to synchronize the scrolling when the user uses the mouse wheel. For now, what I did to avoid confusion in my application is to disable the WM_WHEEL and trap the WM_VSCROLL message when the user drags the scroll bar in scrolling. Please help me how to overcome these problems.
Thanks in advance!
Jun