Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: C++ Internet Explorer Fullscreen (F11)  (Read 4434 times)

0 Members and 1 Guest are viewing this topic.

Xeratul

    Topic Starter
  • 100,000th poster


  • Hopeful
  • Experience: Familiar
  • OS: Windows 7
C++ Internet Explorer Fullscreen (F11)
« on: March 28, 2006, 05:58:57 PM »
You might have read my other post here.

I now understand that I can't put any script in my .html documents that would manipulate the browser's window to fullscreen automatically. Now I want to try giving my friend an .exe file or if I can a .vbs file that would start internet explorer go to my webserver, maximize the screen (F11), and autohide the buttons at the top.

What kind of code could I use to achieve this for a C++ or Visual Basic Script? :-?
« Last Edit: March 29, 2006, 04:19:27 PM by Wraith112 »

Dilbert

  • Moderator


  • Egghead

  • Welcome to ComputerHope!
  • Thanked: 44
    Re: C++ Internet Explorer Fullscreen (F11)
    « Reply #1 on: March 28, 2006, 07:55:46 PM »
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/vcrefchtmlviewsettheatermode.asp

    I don't know enough about C++ to tell you how to implement it, but it should help you get started. :)
    « Last Edit: March 28, 2006, 07:56:45 PM by Timothy_Bennett »
    "The geek shall inherit the Earth."

    Sidewinder



      Guru

      Thanked: 139
    • Experience: Familiar
    • OS: Windows 10
    Re: C++ Internet Explorer Fullscreen (F11)
    « Reply #2 on: March 29, 2006, 03:38:17 AM »
    Quote
    I now understand that I can't put any script in my .html documents that would manipulate the browser's window to fullscreen automatically

    Using both the Screen Object and the Window Object, you should be able to calculate the client's screen size, the current browser window size and resize the window accordingly.

    Note: Write a Window_Onload routine using any script language you like.

    Good luck. 8-)
    The true sign of intelligence is not knowledge but imagination.

    -- Albert Einstein

    Xeratul

      Topic Starter
    • 100,000th poster


    • Hopeful
    • Experience: Familiar
    • OS: Windows 7
    Re: C++ Internet Explorer Fullscreen (F11)
    « Reply #3 on: March 29, 2006, 08:02:09 AM »
    Thanks, I'll get started. :D