CWnd::OnVScroll
The framework calls this member function when the user clicks the window's vertical scroll bar.
afx_msg void OnVScroll( UINT nSBCode, UINT nPos, CScrollBar* pScrollBar );
OnVScroll typically is used by applications that give some feedback while the scroll box is being dragged.
If OnVScroll scrolls the contents of the CWnd object, it must also reset the position of the scroll box with the SetScrollPos member function.
Note
|
|---|
|
This member function is called by the framework to allow your application to handle a Windows message. The parameters passed to your function reflect the parameters received by the framework when the message was received. If you call the base-class implementation of this function, that implementation will use the parameters originally passed with the message and not the parameters you supply to the function. |
Note