What message does a vertical CScrollBar send when it is moved?
-
Hi, I'm using VC++ with MFC. I have a CScrollBar in my program which is supposed to perform various functions when it is moved. How can I tell when the user has clicked on the scrollbar and moved it up and down? I thought it might just be EN_CHANGE but this does not seem to work. I am setting up all of the scroll bar's parameters using SetScrollInfo, which does seem to work, but I cannot tell when the bar is moved and when it IS moved, it does not seem to "stick" at its new position, it just returns to the "nPos" that I initially set it to in SetScrollInfo.
KR
-
Hi, I'm using VC++ with MFC. I have a CScrollBar in my program which is supposed to perform various functions when it is moved. How can I tell when the user has clicked on the scrollbar and moved it up and down? I thought it might just be EN_CHANGE but this does not seem to work. I am setting up all of the scroll bar's parameters using SetScrollInfo, which does seem to work, but I cannot tell when the bar is moved and when it IS moved, it does not seem to "stick" at its new position, it just returns to the "nPos" that I initially set it to in SetScrollInfo.
KR
About Scroll Bars: Scroll Bar Requests[^]
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
About Scroll Bars: Scroll Bar Requests[^]
Mark Salsbery Microsoft MVP - Visual C++ :java: