I had to do it this way:
Code:
...
[MAIN_REFRESH]
UNLOADBMP "BackgroundImage"
LOADBMP ".\" + ImageFile$ + ".bmp"
#MainWindow.GBx1 "down"
#MainWindow.GBx1 "drawbmp BackgroundImage 0 0"
WAIT
...
[MouseLeftButton]
IF (MouseX > 1685 AND MouseX < 1770) THEN 'Aucune
IF (MouseY > 1055 AND MouseY < 1069) THEN
ImageFile$ = "Aucune"
GOTO [MAIN_REFRESH]
END IF
END IF