M_Slider.create (WS_CHILD | TBS_HORZ | TBS_AUTICKS | TBS_BOTTOM, CRECT (0, 0, 0), this, IDC_SLIDER1); M_SLIDER.SETRANGE (0,100); m_slider.setpos (100);
m_slider.setticfreq (10); // Setting the scale display distance