:ıһӴڣʽڻ򶥲㴰ڵĳߴ磬λúZ

ʽ:ApiSetWindowPos(h,t,x,y,cx,cy,uFlags)

h:Ĵھ
t:
x:Կͻָλõ߽
Y:ԿͻָλõĶ߽
cx:ָڵµĿ
cy:ָڵµĸ߶
uFlags:ڳߴͶλı־

˵:ǶԭAPISetWindowPosķװ.ִгɹط0.

:

ApiSetWindowPos(h,-1,0,0,0,0,3);//öΪhĴ
ApiSetWindowPos(h,-2,0,0,0,0,3);//ԾΪhĴȡö
ApiSetWindowPos(h,0,x,y,w,h,4);//þΪhڴСΪw,h,Ϊ(x,y)
ApiSetWindowPos(h,0,x,y,0,0,5);//þΪhΪ(x,y)
ApiSetWindowPos(h,0,0,0,w,h,6);//þΪhڴСΪw,h