Resize HTA Window

I have an HTA that I always want to have the same size. I already saved the window from maximum use with <hta:application maximizebutton="no", but I also want it to not change by dragging the mouse from the border of the window.

+4
source share
2 answers

Add this below:

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

Note. If you want to allow the user to scroll, change the line from to SCROLL NO YES

+1
source

Try it like this:

<HTA:APPLICATION ID="sample"
    APPLICATIONNAME="sample"
    BORDER="dialog"
    MAXIMIZEBUTTON="no"
    SCROLLFLAT="yes"
    CAPTION="yes"
    SELECTION="no"
    INNERBORDER="no"
    ICON=""
    SCROLL="no"
    SHOWINTASKBAR="yes"
    SINGLEINSTANCE="yes"
    SYSMENU="yes"
    WINDOWSTATE="normal" />
+3
source

All Articles