If it helps any, here are the missing defines from egcs 1.1.2 Windows32/defines.h for the mouse: /* MOUSE_EVENT_RECORD structure */ #define FROM_LEFT_1ST_BUTTON_PRESSED (1) #define RIGHTMOST_BUTTON_PRESSED (2) #define FROM_LEFT_2ND_BUTTON_PRESSED (4) #define FROM_LEFT_3RD_BUTTON_PRESSED (8) #define FROM_LEFT_4TH_BUTTON_PRESSED (16) #define DOUBLE_CLICK (2) #define MOUSE_MOVED (1) You may want to try putting them in one of the other header files until they are added back into the mingw32 include file distribution. Laura Michaels http://members.aol.com/lauram3017/index.html