Re: HTA position by JTW
JTW
Thu Apr 06 14:54:57 CDT 2006
You can use the ResizeTo and MoveTo methods of the Window object from
the onLoad event. Add something similar to the below to your script
section.
<script language="vbscript">
Function Window_OnLoad()
Const iWidth = 300
Const iHeight = 225
Window.ResizeTo iWidth, iHeight
Window.MoveTo (Screen.availWidth-iWidth)/2,
(Screen.availHeight-iHeight)/2
End Function
</script>