In winuser.h, around line 1264, directly below #define WHEEL_DELTA 120 should be the macro #define GET_WHEEL_DELTA_WPARAM(wparam) ((short)HIWORD (wparam)) Harold -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple