filip Valued Contributor


Joined: 07 Aug 2004 Posts: 340
|
Posted: Mon May 26, 2008 6:16 pm Post subject: |
|
|
Any help on this one...when the mouse move it must exit but it don't and is there any chance of hiding the cursor at the same time
| Code: | Option Decimalsep,"|"
Option Decimalsep,"."
%%MousePosX = @mousepos(X)
%%MousePosY = @mousepos(Y)
%%Calc = @Fadd(%%MousePosX,%%MousePosY)
Title ScreenSaver
DIALOG CREATE,Screen Saver,-1,0,2400,2400,NOSYS,NOTITLE
DIALOG ADD,TEXT,TEXT1,35,76,64,24,Screen saver
DIALOG SHOW
:loop
wait event,0.1
%%Calc2 = @Fadd(%%MousePosX,%%MousePosY)
%E = @event()
goto %E
:Timer
if @NOT(@Equal(%%Calc,%%Calc2))
exit
end
goto loop |
|
|