CView::OnHScroll(nSBCode, nPos, pScrollBar);}
void ***::OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) { // TODO: Add your message handler code here and/or call default CWnd *pSliderPos = this->GetDlgItem(IDC_SLIDER_POS); CWnd *pSliderVolume = this->GetDlgItem(IDC_SLIDER_VOLUME); if (pScrollBar == pSliderVolume) {...
这个是点击水平滚动条的消息处理函数