ListCtrl Scroll Messages
-
Does anyone here have example code that show how to send a WM_VSCROLL message to a CListCtrl control using SB_THUMBPOSITION, SB_THUMBTRACK, and SB_ENDSCROLL to scroll a listctrl? I have watched spy++ and can clearly see that these are the messages that are being sent to the CListCtrl when dragging the thumb control of CListCtrl's scrollbar, but I can't get the list to scroll by doing SendMessage commands to the CListCtrl. Can anyone post sample code on how to do this properly if it is possible? Thanks, Greg
-
Does anyone here have example code that show how to send a WM_VSCROLL message to a CListCtrl control using SB_THUMBPOSITION, SB_THUMBTRACK, and SB_ENDSCROLL to scroll a listctrl? I have watched spy++ and can clearly see that these are the messages that are being sent to the CListCtrl when dragging the thumb control of CListCtrl's scrollbar, but I can't get the list to scroll by doing SendMessage commands to the CListCtrl. Can anyone post sample code on how to do this properly if it is possible? Thanks, Greg
-
I have tried that, but it does not work exactly the same as the WM_VSCROLL message. The blting that it does is very poor. If I was able to somehow send the WM_VSCROLL message it would solve all my problems. Cheers, Greg