Here is a simple resize function I used in one project.
Function ResizeControls()
`StatusBarText("ResizeControls")
`call dll 1,"MoveWindow",hctlStatusBar,0,0,0,0,1
call dll 1,"MoveWindow",hctl,0,50,windowx-windowoffsetx-174,windowy-windowoffsety-122,1
`call dll 1,"MoveWindow",ConfigurationPanel,windowx-windowoffsetx-174,50,windowx-windowoffsetx,windowy-windowoffsety,1
`ConfigurationPanel=call dll (1,"CreateWindowExA", 0, "static","",dwstyle, windowx-windowoffsetx-173,52,windowx-windowoffsetx,windowy-windowoffsety,hwnd)
EndFunction
Here is the get window size function I used.
Function GetWindowSize
StatusBarText("GetWindowSize")
windowsizeptr=make memory(24)
windowsize=windowsizeptr
a=call dll (1,"GetWindowRect",hctlstatusbar,windowsizeptr)
windowsizeleft=*windowsize
windowsize=windowsize+4
windowsizetop=*windowsize
windowsize=windowsize+4
Windowsizeright=*windowsize
windowsize=windowsize+4
windowsizebottom=*windowsize
windowx=windowsizeright-windowsizeleft
windowy=windowsizebottom-windowsizetop
delete memory windowsizeptr
EndFunction
Dll #1=user32.dll
Maybe they are of help to you.