this is the relevant paint code // draw gradations for( int i = Min(); ( m_nMajorTicks > 0 ) && ( i <= Max() ) ; i += ( m_nMinorTicks == 0 ? m_nMajorTicks : m_nMinorTicks ) ) { int nPos = SliderToClient( i ); if( ( m_nMajorTicks != 0 ) && ( i % m_nMajorTicks ) == 0 ) DrawTick( w, MAJOR, (HOVE)HoVe( HORZ, VERT ), nPos, i ); else if( ( m_nMinorTicks != 0 ) && ( i % m_nMinorTicks ) == 0 ) DrawTick( w, MINOR, (HOVE)HoVe( HORZ, VERT ), nPos, i ); }
progress = new ProgressIndicator(); progress->Percent(true); progress->Set(0, 100); list.SetCtrl(i, CPROG, progress); delete progress; list.Set(i, CPROG, "OK");