View Full Version : a few hta questions

03-17-2005, 09:14 PM
Hello all,

I've recently discovered the magic of hta's(HTML APPLICATIONS) and
I've been making some games with it(javascript).

Anyway, I have a few questions. One, is it possible to change the resolution
using activeX/javascript? And if so, how? My other question is, is it possible
to change the width and the height of the application window? I've tryed
everything from document.body.style.width to <HTA:APPPLICATION width=x> and none of them work.

If you have the answer to any of these questions thanks in advance!

03-17-2005, 11:09 PM
For the window size, you've got the WINDOWSTATE attribute, which is read-only at runtime, or the resizeTo|resizeBy methods of the window object.

Some MS resource kits include a Quickres.exe, which supposedly changes your resolution quickly... just don't do that to anyone else, please.