The example shows how to disable zoom in an image windows.
def Handle_System_MouseDown(Image,Shift,X,Y): # # Image = VT_BSTR # Shift = VI_I4 # X = VT_R4 # Y = VT_R4 # # Return 1 if handled by script # Return 0 if default handling # return 1