void CTestDlg::OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar)
{
// TODO: Add your message handler code here and/or call default
CDialog::OnHScroll(nSBCode ,nPos,pScrollBar);
CSliderCtrl *pSlidCtrl=(CSliderCtrl* )GetDlgItem(IDC_SLIDER1);
int m_nCur=pSlidCtrl->GetPos();//È ¡µÃµ±Ç°Î»ÖÃÖµ
CString str;
str.Format("%d/n",m_nCur);
TRACE(str);
}
{
// TODO: Add your message handler code here and/or call default
CDialog::OnHScroll(nSBCode
CSliderCtrl *pSlidCtrl=(CSliderCtrl*
int m_nCur=pSlidCtrl->GetPos();//È
CString str;
str.Format("%d/n",m_nCur);
TRACE(str);
}