i have done these steps
1. Insert two static texts, one edit, and one slider controls.
2. Add variable name slider to slider control which is of Category
Control and of the Variable Type CSliderCtrl.
3. Add variable name slidervalue to edit text which is of Category value and of the Variable Type CString.
4. add this in OnInitDialog() function:
slider.SetRangeMin(1, false);
slider.SetRangeMax(100, false);
sliderValue = "1";
UpdateData(FALSE);
5. Implement the OnHScroll() function as follows:
if(nSBCode == SB_THUMBPOSITION)
{
slidervalue.Format(_T("%d"), nPos);
UpdateData(false);
}
else
{
CDialog::OnHScroll(nSBCode, nPos, pScrollBar);
}
now my question is where i can specify the conditions that
if(slidervalue="10")
{
}