ypos% = 10 xpos% = 10 DIM code 20 FOR opt=1 TO 3 STEP 2 P%=code [OPT opt .win push 5 push 0 push 0 push ypos% push xpos% push 0 push @hwnd% call "SetWindowPos" ret ] NEXT CALL win
... .N% cmp dword [esp+8],&600 : jz M% pop eax : push [^O%] : push eax : jmp "CallWindowProc" ] SYS "GetWindowLong",@hwnd%,-4 TO O% SYS "SetWindowLong",@hwnd%,-4,N% ...
|
DIM code 20 FOR opt=1 TO 3 STEP 2 P%=code [OPT opt .win push 5 push 0 push 0 push [^ypos%] push [^xpos%] push 0 push @hwnd% call "SetWindowPos" ret ] NEXT ypos% = 10 xpos% = 10 CALL win
|