Click here to Skip to main content
15,848,415 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can we control vertical scroll bar in a list control by adding message handler or by any other way?
Like in a dialog box we add message handlers to handle the vertical scroll bar(OnVscroll()).how can we do that with list control?


Urgency removed: It may be urgent for you, but it isn't to us. Stressing the urgency is a good way to get peoples backs up, and slow down responses - it make them assume you have left it too late to do your homework.
Multiple Question marks removed. One is sufficient.
- OriginalGriff
Updated 12-Jan-11 23:18pm

1 solution

You can derive your own class from CListCtrl and trap WM_VSCROLL message.
See this[^] article for example implementation.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900