If you like to use gestures with the Magic Mouse in REALbasic, go and implement the gestures events from the MBS Plugins. You find them in the CarbonApplicationEventsMBS and the CarbonWindowsEventsMBS classes.
A sample is here
04 11 09 - 16:57