void CDemoDlg::OnNMCustomdrawSlider(NMHDR *pNMHDR, LRESULT *pResult)
{
LPNMCUSTOMDRAW pNMCD = reinterpret_cast<LPNMCUSTOMDRAW>(pNMHDR);
// TODO: 在此添加控件通知处理程序代码
//*pResult = 0;
int nPos = m_ctrlSlider.GetPos();
CString strText;
strText.Format(_T("%d"), nPos);
SetDlgItemText(IDC_STATIC_POS, strText);
}