- SetControl32BitMaximum( (ControlRef) m_macControl , range1 ) ;
- SetControl32BitMinimum( (ControlRef) m_macControl , 0 ) ;
- SetControl32BitValue( (ControlRef) m_macControl , position ) ;
- SetControlViewSize( (ControlRef) m_macControl , m_viewSize ) ;
-
- if ( refresh )
- MacRedrawControl() ;
+ m_peer->SetMaximum( range1 ) ;
+ m_peer->SetMinimum( 0 ) ;
+ m_peer->SetValue( position ) ;
+ m_peer->SetViewSize( m_viewSize ) ;