Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Dec 2003
    Posts
    132
    Thanks
    0
    Thanked 0 Times in 0 Posts

    a few hta questions

    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!
    UNDER CONSTRUCTION

  • #2
    Regular Coder
    Join Date
    Aug 2004
    Location
    codegoboom@yahoo.com
    Posts
    999
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.
    *this message will self destruct in n-seconds*


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •