>>DECLARE SHORT SetWindowPos IN Win32API; >> INTEGER hwnd, INTEGER hwndInsertAfter,; >> INTEGER hpos, INTEGER vpos,; >> INTEGER width, INTEGER height,; >> INTEGER fuFlags >>* lnhwnd is the window handle (hwnd property in VB) >>* lnhpos is the horizontal location of the window >>* lnvpos is the vertical location of the window >>* lnwidth is the width of the window >>* lnheight is the height of the window >>* Call the function >>llresult = (SetWindowPos(lnhwnd, -1, lnhpos, lnvpos,; >> lnwidth, lnheight, 64) # 0)>>That's all there is to it.