hello,<br><br>This patch modifies the behavior of the response to TBM_GETNUMTICS.&nbsp; the trackbar getter and setter tests i submitted previously exposed that the MSDN documentation does not give the correct formula for calculating the number of tics.&nbsp; As they state: if the tic frequency is smaller than the max range - the min range, then the result will be: 
<br>(maxrange - minrange)/ticfreq + 2.<br><br>instead the behavior is:<br>(maxrange - minrange/ticfreq) + 1<br><br>this patch simply implements the observed behavior exposed by the tests<br><br>-keith<br>