Lines Matching refs:thumbSize
34 void SetScrollbar(int orientation, int position, int thumbSize, int range);
98 Substitute (range - 1) for nMax and thumbSize for nPage:
99 = range - 1 - max(thumbSize - 1, 0)
101 = range - 1 - (max(thumbSize - 1 + 1, 1) - 1)
103 = range - 1 - (max(thumbSize, 1) - 1)
105 = range - 1 - max(thumbSize, 1) + 1
107 = range - max(thumbSize, 1)
109 Also keep in mind that thumbSize may never be greater than range but
110 can be equal to it. Thus for the smallest possible thumbSize there
112 range - 1) and for the largest possible thumbSize there is exactly