How to send a WNDPROC message to a listview control to simulate a click on a scrollbar arrow
C#
2
Posts
2
Posters
0
Views
1
Watching
-
I am trying to figure out how to programmatically send a WINDPROC message to a control that will simulate a mouse click on an associated scrollbar arrow. Can anyone give me some advice?
Darryl Borden Principal IT Analyst dborden@eprod.com
-
I am trying to figure out how to programmatically send a WINDPROC message to a control that will simulate a mouse click on an associated scrollbar arrow. Can anyone give me some advice?
Darryl Borden Principal IT Analyst dborden@eprod.com
You need to send a WM_HSCROLL[^] or WM_VSCROLL[^] message. You can use SendMessage()[^] or PostMessag()[^] to send the message to the control.
Simon