value += increment;
newValue += increment;
int actionProc (int theControl, int partCode) {	int value = getSelectionText ();    switch (partCode) {	    case OS.kControlUpButtonPart:			value += increment;	        break;	    case OS.kControlDownButtonPart:			value -= increment;	        break;	}	int max = OS.GetControl32BitMaximum (buttonHandle);	int min = OS.GetControl32BitMinimum (buttonHandle);	if (value > max) value = min;	if (value < min) value = max;	setSelection (value, true);	return 0;}