D
Dave Jackson
Hi All,
I'm trying to programmatically scroll a ListView (I want
to keep two ListViews 'in sync'). I don't seem to be able
to access the ScrollBars through the ListView.Controls, so
I was wondering if there was another way to set ScrollBar
position?
If, as I fear, I need to override the WndProc, I am able
to do this for the majority of the situations, but when a
user clicks and drags the scroll bar (generating an
SB_ThumbTrack or SB_ThumbPosition message) I am unable to
pass those messages along to the second ListView, ro at
least they aren't processing correctly. I'm using
SendMessage in user32.dll. Is there a trick to this that
I'm not getting?
Thanks,
Dave Jackson
I'm trying to programmatically scroll a ListView (I want
to keep two ListViews 'in sync'). I don't seem to be able
to access the ScrollBars through the ListView.Controls, so
I was wondering if there was another way to set ScrollBar
position?
If, as I fear, I need to override the WndProc, I am able
to do this for the majority of the situations, but when a
user clicks and drags the scroll bar (generating an
SB_ThumbTrack or SB_ThumbPosition message) I am unable to
pass those messages along to the second ListView, ro at
least they aren't processing correctly. I'm using
SendMessage in user32.dll. Is there a trick to this that
I'm not getting?
Thanks,
Dave Jackson