Keep an HTA window from resizing

hta

Solution

Add this below:

<HTA:APPLICATION
    MAXIMIZEBUTTON="NO"
    SCROLL="NO"
    BORDER="DIALOG"
/>

Note - If you want to allow user to scroll, change `SCROLL` string from `NO` to `YES`

Problem

I have an HTA which I always want to have the same size. I've already kept the window from being maximized by using `<hta:application maximizebutton="no"` but I also want to keep it from being resised by dragging the mouse from the border of the window.

Original source