如题。谢谢了。

解决方案 »

  1.   

    你用那个设置范围的函数设置他的范围,就可以了
      就是那个CSpinButtonCtrl::SetRange
      调用它设置,范围,就可以了,我上次就是这样搞的
      

  2.   

    这是BUG吗?范围可以随意设置吧?
      

  3.   

    The default range for the spin button has the maximum set to zero (0) and the minimum set to 100. Since the maximum value is less than the minimum value, clicking the up arrow will decrease the position and clicking the down arrow will increase it. Use CSpinButtonCtrl::SetRange to adjust these values.这是msdn上的,告诉了你原因,当然不是bug,:)
     至于范围,都是int型的,int型的范围,就是它的范围
      

  4.   

    调用一下 CSpinButtonCtrl::SetRange();