Advanced win32 scrollbar message
I´m looking for a win32 message when the user move the vertical or horizontal scrollbar. I know there is a WM_VSCROLL and WM_HSCROLL message. But I think (not absolutly sure) that windows call this message when the user have released the mouse button, and this isn´t what I´m looking for. I wan´t to update all DX graphic (scroll screen) when the scrollbar have changed the position.
Thanx,
Zeblar Nagrim, Lord of Chaos
You might want to check to see if when you receive a WM_VSCROLL/HSCROLL the sub message is SB_THUMBTRACK or something similar.
Also, you might want to check out WM_NCLBUTTONDOWN or some other derivation for the hit testing value when the user clicks and holds the mouse button in a non-client area (scrollbars,etc.).
Failing that, fire up the spy program and point it to a window with scrollbars. Perform the operations your looking for and see what messages are generated (you might want to filter for specific types of messages).
HTH,
-Z
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement