드래그(x,y,x1,y1)
{
global ActiveID
WinGetPos, winX, winY, winW, winH, %ActiveID%
SysGet, capH, 4 ; 캡션Height
SysGet, bordW, 32 ; 보더Width
SysGet, bordH, 33 ; 보더Height
px:=x-winX-bordW
py:=y-winY-bordH-capH
p := px|py<<16
mx:=x1-winX-bordW
my:=y1-winY-bordH-capH
m := mx|my<<16
PostMessage, 0x201, 1, %p%, ,%ActiveID%
Sleep, 200
PostMessage, 0x200, 0, %m%, ,%ActiveID%
Sleep, 200
PostMessage, 0x201, 1, %m%, ,%ActiveID%
Sleep, 200
PostMessage, 0x202, 2, %m%, , %ActiveID%
Sleep, 200
return
}
뭘 잘못 한것 까요??? 혹시 드래그 성공하신분있으시면 노하우좀.... ㅠ,ㅠ