Results 1 to 4 of 4

Thread: [RESOLVED] window attributes

  1. #1

    Thread Starter
    Fanatic Member VBKNIGHT's Avatar
    Join Date
    Oct 2000
    Location
    Port25
    Posts
    619

    Resolved [RESOLVED] window attributes

    is it possible to self disable the toolbar and rezise the window?

    i know this is possible by calling the new window by using window.open('','toolbar=no,width=100px,height=100px')

    but how can i do this on window itself when its was called.like during pag load event.

    If a post has helped you then Please Rate it!

  2. #2
    No place like 127.0.0.1 eyeRmonkey's Avatar
    Join Date
    Jul 2005
    Location
    Blissful Oblivion
    Posts
    2,306

    Re: window attributes

    I'm almost completely sure that it is not possible. One thing you could do is use Self.Close() and then open a new window with all the properties you want. You could even grab the current width/height of the window and use that as part of your formula for opening a new one.
    Visual Studio 2005 Professional Edition (.NET Framework 2.0)
    ~ VB .NET Links: Visual Basic 6 to .NET Function Equivalents (Thread) | Refactor! (White Paper) | Easy Control for Wizard Forms | Making A Proper UI For WinForms | Graphics & GDI+ Tutorial | Websites For Free Icons
    ~ QUOTE: Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -Rich Cook

    ~ eyeRmonkey.com

  3. #3
    Fanatic Member kaihirst's Avatar
    Join Date
    Jul 2005
    Location
    The Resaurant At the End of The Universe
    Posts
    633

    Re: window attributes

    Hi,

    This is not possible im afraid.

    Thi sis dioe to object orientated language dependency rules. when a session loads, the arbritrary onCreate event handler is invoked by the HTA and registry, therefore all default and specified attributes are created and set as arbritrary at the point of creation and, once they have been set, they cannott be destroyed until another onCreate for that window is invoked.

    Javascript has no access to this event handler and, before you start thinking about it, it cannott be ovewritten form the registry, or by a custom build handler (tried this...)

    youll have to work round this one. (or use the F11 key) It is possible that you can disable to toolbars fromteh internet options and the registry, but this is not recommended as it willeffect everything concerning that key point.

    ta

    kai
    As the information I give is useful in its nature, consider using the RATE POST feature located on the bottom left of this post please..

    A few things that make a good Developer a Great One.
    Methodical and a thorough approach to research and design inevitably leads to success.
    Forward thinking is the key to Flow of control.
    Never test in the design environment, always test in real time, you get the REAL results.
    CBSE & OOSE are the same animal, they just require different techniques, and thinking.
    SEO is a globe of objectives, SE rankings is an end to a means for these objectives, not part of them.
    The key to good design is explicit attention to both detail and response.
    Think Freely out of the "Box" you're in..... You will soar to better heights.

    Kai Hirst - MSCE, MCDBA, MCSD, MCP, MCAP, MSCT


  4. #4

    Thread Starter
    Fanatic Member VBKNIGHT's Avatar
    Join Date
    Oct 2000
    Location
    Port25
    Posts
    619

    Re: window attributes

    just as i thought.thanks guys

    If a post has helped you then Please Rate it!

Posting Permissions

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



Click Here to Expand Forum to Full Width