def Stop(self):
    if (self.window is not None):
        try:
            self.window.SendMessage(self.UWM_STOP, 0, 0)
        except:
            pass
def Stop(self):
    if (self.window is not None):
        try:
            self.window.SendMessage(self.UWM_STOP, 0, 0)
        except:
            pass