我的 spin 怎么倒转了,按向上的钮 数字减小,反之数字增大 ,对比vc 的例程看了半天也没看出它有什么特殊之处?那位大侠告诉我是怎么回事??

解决方案 »

  1.   

    正常!我的也是!!
    Note   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.CSpinButtonCtrl::SetRange
    void SetRange( int nLower, int nUpper );void SetRange32( int nLower, int nUpper );