# Real Fullscreen Mode

**URL:** <https://forum.juce.com/t/real-fullscreen-mode/1903>\
**Category:** General JUCE discussion\
**Created:** [July 12, 2007, 11:18pm UTC](https://forum.juce.com/t/real-fullscreen-mode/1903 "2007-07-12T23:18:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![trip099](https://avatars.discourse-cdn.com/v4/letter/t/5fc32e/32.png) [@trip099](https://forum.juce.com/u/trip099)\
**Post date:** [July 12, 2007, 11:18pm UTC](https://forum.juce.com/t/real-fullscreen-mode/1903/1 "2007-07-12T23:18:58Z")

</div>

Hey All,

I’m just starting out with JUCE, and I am really impressed. Seems simple and clean, and very Java-like in a sense, so I feel already at home. And the widgets are really nice looking!

I had a q though. In the forum I saw a couple of posts about “kiosk mode”, but nothing seemed to come out of it. I would really like for JUCE to have a real fullscreen mode: No taskbars or menu bars, no dock, and control over the native resolution (i.e. the program should change the resolution of the current monitor or monitors). This would really be great for A/V applications, such as VJ stuff and the like, in addition to more traditional kiosk-style applications. In Java this is called Full Screen Exclusive mode, or something like that.

I managed to simulate this on a second monitor, by making an undecorated window that fit the current display resolution, but sometimes this isn’t available. Real full screen would be really great, and far less hacky.

thanks,

c.

---

<div class="post-metadata">

**Author:** ![Warmonger](https://avatars.discourse-cdn.com/v4/letter/w/eb9ed0/32.png) [@Warmonger](https://forum.juce.com/u/Warmonger)\
**Post date:** [July 13, 2007, 2:26am UTC](https://forum.juce.com/t/real-fullscreen-mode/1903/2 "2007-07-13T02:26:39Z")

</div>

I’ve made an app that does exactly this. It’s more involved than a single method call, but it can be done with a fairly minimal amount of complexity without any modification to Juce. Unfortunately, I can’t seem to find the source for it right now, but if I do, I can post it here.

Edit: found it, here’s the relevant code. Note that there’s no DocumentWindow at all, just a Component which has the full screen as its bounds.

```auto
class JUCEHelloWorldApplication : public JUCEApplication
{
	HelloWorldContentComponent* helloWorldComp;
public:
    //==============================================================================
    JUCEHelloWorldApplication()
        : helloWorldComp (0)
    {
    }

    ~JUCEHelloWorldApplication()
    {
    }

    void initialise (const String& commandLine)
    {
        helloWorldComp = new HelloWorldContentComponent();
        helloWorldComp->setOpaque(true);
        helloWorldComp->addToDesktop(ComponentPeer::windowAppearsOnTaskbar);
        helloWorldComp->setVisible (true);
        helloWorldComp->setBounds(Desktop::getInstance().getMainMonitorArea(false));
        helloWorldComp->toFront(true);
    }
...
};
```

---

<div class="post-metadata">

**Author:** ![trip099](https://avatars.discourse-cdn.com/v4/letter/t/5fc32e/32.png) [@trip099](https://forum.juce.com/u/trip099)\
**Post date:** [July 13, 2007, 2:30am UTC](https://forum.juce.com/t/real-fullscreen-mode/1903/3 "2007-07-13T02:30:39Z")

</div>

is it cross-platform?

---

<div class="post-metadata">

**Author:** ![Warmonger](https://avatars.discourse-cdn.com/v4/letter/w/eb9ed0/32.png) [@Warmonger](https://forum.juce.com/u/Warmonger)\
**Post date:** [July 13, 2007, 2:38am UTC](https://forum.juce.com/t/real-fullscreen-mode/1903/4 "2007-07-13T02:38:49Z")

</div>

I haven’t tried it on any other platforms besides Windows. I suspect it would work on Linux, but OS X may not like it.

---

<div class="post-metadata">

**Author:** ![trip099](https://avatars.discourse-cdn.com/v4/letter/t/5fc32e/32.png) [@trip099](https://forum.juce.com/u/trip099)\
**Post date:** [July 13, 2007, 2:49am UTC](https://forum.juce.com/t/real-fullscreen-mode/1903/5 "2007-07-13T02:49:29Z")

</div>

yup, seems like OS X doesn’t like it. The menu bar is still there. I’ll test more tomorrow.

thanks

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [May 12, 2017, 10:27am UTC](https://forum.juce.com/t/real-fullscreen-mode/1903/6 "2017-05-12T10:27:11Z")

</div>

Closed on May 12, 2017, 10:27am UTC


