<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>removing start bar in windows</title>
		<link>http://www.allegro.cc/forums/view/618318</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sun, 10 Jan 2021 05:04:09 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hi,</p><p> I&#39;m using window 10 with allegro 5.0.10 and I set the display flags to ALLEGRO_FULLSCREEN to get a fullscreen display.</p><p>The thing I don&#39;t know how to do is how to hide or remove the start bar at the bottom<br />of the screen with the start menu button, the search box and the quick launch shortcuts, etc...</p><p>Is there something I can do?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (William Labbett)</author>
		<pubDate>Fri, 01 Jan 2021 18:48:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Try right clicking the task bar, then click lock the task bar to unlock. Go into task bar settings and turn the automatically hide the task bar setting to on.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bob Keane)</author>
		<pubDate>Fri, 01 Jan 2021 20:02:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks a lot. So there&#39;s no way to remove it with code (if the person running the program<br />hasn&#39;t got autohide set on there machine) ?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (William Labbett)</author>
		<pubDate>Sat, 02 Jan 2021 16:58:11 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I don&#39;t know. You can try <a href="https://docs.microsoft.com/en-us/windows-hardware/customize/desktop/customize-the-taskbar">this.</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bob Keane)</author>
		<pubDate>Sat, 02 Jan 2021 19:42:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Many thanks Bob. Page saved for later as very busy at the moment.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (William Labbett)</author>
		<pubDate>Sat, 02 Jan 2021 21:06:23 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If it works, show your code. I could probably use it. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bob Keane)</author>
		<pubDate>Sat, 02 Jan 2021 23:01:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>this doesn&#39;t sound right. are you saying it&#39;s fullscreen, and still showing the taskbar?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Chris Katko)</author>
		<pubDate>Sun, 03 Jan 2021 09:46:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yes.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (William Labbett)</author>
		<pubDate>Mon, 04 Jan 2021 00:21:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I believe this is what the OP is posting about:</p><p><span class="remote-thumbnail"><span class="json">{"name":"612803","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/4\/8\/4853b777703bd68f4980a2e750921400.png","w":1366,"h":768,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/4\/8\/4853b777703bd68f4980a2e750921400"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/4/8/4853b777703bd68f4980a2e750921400-240.jpg" alt="612803" width="240" height="134" /></span></p><p>Autohide does not help, there is still a space where the taskbar should go:</p><p><span class="remote-thumbnail"><span class="json">{"name":"612802","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/2\/f\/2f31f64fb0e2b4e131bdede583dd1fe3.png","w":1366,"h":768,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/2\/f\/2f31f64fb0e2b4e131bdede583dd1fe3"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/2/f/2f31f64fb0e2b4e131bdede583dd1fe3-240.jpg" alt="612802" width="240" height="134" /></span></p><p>I&#39;d like to find a fix myself.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bob Keane)</author>
		<pubDate>Mon, 04 Jan 2021 01:25:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Almost sounds like a bug with ALLEGRO_FULLSCREEN in Windows - I feel it should hide the task bar. Does it also happen with ALLEGRO_FULLSCREEN_WINDOW (which will give the window the wrong size so not always an alternative of course)?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Mon, 04 Jan 2021 03:59:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I don&#39;t think there is any way it can be real fullscreen mode if the taskbar is showing, the Windows desktop is not an overlay. I&#39;ve seen glitches where the game hangs and you just get the desktop back partially, but not quite the same thing. If it&#39;s actually &quot;fullscreen window&quot;, then it sounds like an Allegro bug. It&#39;s quite common for games today to use this mode, SC2 is the first one I remember using it. I&#39;m playing Far Cry 5 now, which defaults to it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (torhu)</author>
		<pubDate>Mon, 04 Jan 2021 04:37:03 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I thought it might be a Microsoft thing but when I use retroarch full screen the taskbar and space for it is not there. Probably a bug, but I will check my code later to see if I used full screen or full screen windowed.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bob Keane)</author>
		<pubDate>Mon, 04 Jan 2021 18:38:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It does happen with ALLEGRO_FULLSCREEN_WINDOW.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (William Labbett)</author>
		<pubDate>Mon, 04 Jan 2021 20:27:59 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You can run this code to hide the start bar...</p><div class="source-code snippet"><div class="inner"><pre><span class="k1">static</span> HWND hShellWnd <span class="k3">=</span> <span class="k2">:</span><span class="k2">:</span>FindWindow<span class="k2">(</span><span class="s">"Shell_TrayWnd"</span>, NULL<span class="k2">)</span><span class="k2">;</span>
ShowWindow<span class="k2">(</span>hShellWnd, SW_HIDE<span class="k2">)</span><span class="k2">;</span>
</pre></div></div><p>

<b>BUT</b> be sure to run this before you exit, otherwise you won&#39;t get it back!!</p><div class="source-code snippet"><div class="inner"><pre>hShellWnd <span class="k3">=</span> <span class="k2">:</span><span class="k2">:</span>FindWindow<span class="k2">(</span><span class="s">"Shell_TrayWnd"</span>, NULL<span class="k2">)</span><span class="k2">;</span>
ShowWindow<span class="k2">(</span>hShellWnd, SW_SHOW<span class="k2">)</span><span class="k2">;</span>
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dizzy Egg)</author>
		<pubDate>Mon, 04 Jan 2021 21:53:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Great. Will that work in both cases ALLEGRO_FULLSCREEN and ALLEGRO_FULLSCREEN_WINDOWED? Had to ask.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (William Labbett)</author>
		<pubDate>Tue, 05 Jan 2021 00:03:37 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yeah that&#39;ll hide it regardless of window/fullscreen.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dizzy Egg)</author>
		<pubDate>Wed, 06 Jan 2021 01:21:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hiding the taskbar programmatically seems like a bad idea. What happens if the user switches back to the desktop without exiting the game first, or if the game crashes?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (torhu)</author>
		<pubDate>Wed, 06 Jan 2021 01:59:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Is it possible to switch back to the desktop in fullscreen mode if the taskbar is hidden (except by triggering a close display event)?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (William Labbett)</author>
		<pubDate>Wed, 06 Jan 2021 03:01:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yeah, press the Windows key, Alt-Tab or Ctrl+Alt+Del <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /></p><p>I don&#39;t think I have a functional Allegro installation any longer, otherwise I could have done some tests...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (torhu)</author>
		<pubDate>Wed, 06 Jan 2021 03:05:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It is a bad idea to do it in code!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dizzy Egg)</author>
		<pubDate>Wed, 06 Jan 2021 03:25:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m quite prone to having bad ideas. Nice to have all the info.<br />Don&#39;t professional (AAA say or quite expensive) games hide the taskbar?<br />Just seems naf.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (William Labbett)</author>
		<pubDate>Wed, 06 Jan 2021 04:05:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You shouldn&#39;t need to hide the taskbar in fullscreen mode.</p><p>If possible I think positioning your window above the taskbar to cover it would be ideal to hiding the taskbar. If your game crashes or any other unexpected event happens then the taskbar could remain hidden and cripple the user&#39;s computer until a reboot (or at least explorer.exe is killed and restarted). <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /></p><p>I wonder if the Windows key would still make it appear if you used code to &quot;hide&quot; it. <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" /></p><p><b>Append:</b></p><p>The only way to make this work nicely by hiding the taskbar would be to handle the event when your window loses focus and showing the taskbar again. Hopefully before the user notices anything is amiss. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /> But that may still be flaky. AAA studios have the resources to call Microsoft up and get this information directly from the source with full support. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /> You and I cannot.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Wed, 06 Jan 2021 05:48:07 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Raymond Chen says the taskbar should hide automatically:<br /><a href="https://devblogs.microsoft.com/oldnewthing/20050505-04/?p=35703">https://devblogs.microsoft.com/oldnewthing/20050505-04/?p=35703</a></p><p>You could check if fullscreen windows work properly in other apps, like F11 in web browsers. If not, you could try restarting Windows (or just Windows Explorer), or maybe updating your graphics driver?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (torhu)</author>
		<pubDate>Wed, 06 Jan 2021 12:42:08 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks all. I&#39;ve gone off the idea but for the record I&#39;ve tried F11 (on a browser). All as it should be. I tried rebooting and running my app, all as before (taskbar present).<br />Haven&#39;t tried updating graphics driver. Can I with no GFX card?</p><p>Might switch to another machine which is better and try with that. Thanks again.</p><p>May take some time to try the last thing.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (William Labbett)</author>
		<pubDate>Thu, 07 Jan 2021 04:13:04 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Integrated graphics still require drivers. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /> But I doubt a driver update is going to fix this.</p><p>Maybe you should try developing a short program that you can share that demonstrates this problem. Then we can compile it and run it ourselves and report back our results, which can help to rule out your environment and might also help us spot the problem. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Fri, 08 Jan 2021 21:30:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I did so and guess what?, the display really is fullscreen so I&#39;ve been looking to see if<br />I&#39;ve done something wrong in my actual program I need it to work for but so far I&#39;ve found nothing.</p><p>So the only thing I can think of to do now is post all the requisite files for my project so those that would could look at it but I&#39;m a bit worried I&#39;m going to be embarrassed if I&#39;m exposed as having done something stupid.</p><p>Advise please.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (William Labbett)</author>
		<pubDate>Sat, 09 Jan 2021 05:30:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Don&#39;t be ashamed. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /> Everybody makes mistakes. Even &quot;stupid&quot; ones. My GitHub is full of uninteresting projects full of &quot;stupid&quot; code. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /> Besides, even if there is any &quot;stupid&quot; code in your project, all that exposing it will do is help you to learn more about it through constructive criticism from others so that you can get better! <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /> Which is exactly what the purpose of this thread is. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>Just because something you&#39;ve done is &quot;stupid&quot; does <i>NOT</i> mean that there is anything wrong with <u>you</u>. Ultimately, I think that it is a major disservice to our entire civilization that we expect people not to fail (in the sense that most of our states have no safety net to protect everyone from failure, deserved or otherwise). Failure is inevitable, and it is often only through failure that we succeed.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Sat, 09 Jan 2021 07:08:36 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ve attached all the necessary files in 7zip file so if anyone really wants to they can<br />compile my program. I think all the extra files necessary are there ( the config, font, etc). Let me know if not and I&#39;ll post the others.</p><p>Here&#39;s what I get when I run it and that&#39;s after a call to </p><p>al_set_new_display_flags(ALLEGRO_FULLSCREEN);</p><p><span class="remote-thumbnail"><span class="json">{"name":"612818","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/e\/e\/ee6f8d5771f973ce0cfaf75fdf4823f2.png","w":1229,"h":933,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/e\/e\/ee6f8d5771f973ce0cfaf75fdf4823f2"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/e/e/ee6f8d5771f973ce0cfaf75fdf4823f2-240.jpg" alt="612818" width="240" height="182" /></span></p><p>EDIT : the display is created in the InputOutput constructor in input_output.cpp</p><p>thanks
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (William Labbett)</author>
		<pubDate>Sat, 09 Jan 2021 21:02:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Are you trying to set a mode the monitor/driver doesn&#39;t support?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (torhu)</author>
		<pubDate>Sat, 09 Jan 2021 21:09:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>In your input_output.cpp you have:</p><div class="source-code snippet"><div class="inner"><pre><a href="http://www.allegro.cc/manual/al_set_new_display_flags"><span class="a">al_set_new_display_flags</span></a><span class="k2">(</span>ALLEGRO_FULLSCREEN<span class="k2">)</span><span class="k2">;</span>

<span class="p">#ifdef ART_PROGRAM_DEBUG_MODE</span>
<a href="http://www.allegro.cc/manual/al_set_new_display_flags"><span class="a">al_set_new_display_flags</span></a><span class="k2">(</span>ALLEGRO_WINDOWED<span class="k2">)</span><span class="k2">;</span>
<span class="p">#endif // ART_PROGRAM_DEBUG_MODE</span>
</pre></div></div><p>

and in your global.hpp you have:</p><div class="source-code snippet"><div class="inner"><pre><span class="p">#define ART_PROGRAM_DEBUG_MODE</span>
</pre></div></div><p>

So remove that line from global.hpp and it will run full-screen??</p><p>(Or is the issue that in full-screen mode the taskbar is overlayed?)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dizzy Egg)</author>
		<pubDate>Sat, 09 Jan 2021 21:56:11 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The resolution I was trying to set was 1024 \times 768.</p><p>Thanks Dizzy Egg. You&#39;ve found the answer for me. I got it working now. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>I&#39;ve realised that the reason the taskbar was showing was because it was windowed mode which I thought was fullscreen because my Desktop resolution was 1024 by 768 originally which was the size of the display being created.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (William Labbett)</author>
		<pubDate>Sat, 09 Jan 2021 23:26:43 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, glad you got it working <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /> Just curious, does it still work if you use the fullscreen window mode?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (torhu)</author>
		<pubDate>Sat, 09 Jan 2021 23:42:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks. There&#39;s no obvious difference to ALLEGRO_FULLSCREEN with ALLEGRO_FULLSCREEN_WINDOWED.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (William Labbett)</author>
		<pubDate>Sun, 10 Jan 2021 01:17:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The difference should be that with the latter you can have the taskbar or even other application windows on top of your game, right? And there is no delay when switching back and forth.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (torhu)</author>
		<pubDate>Sun, 10 Jan 2021 01:24:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Affirmative. I&#39;ve realised that everything is the way it should be. I&#39;ve also realised that when I think I&#39;ve done something daft I really aught to try to find out what. Again.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (William Labbett)</author>
		<pubDate>Sun, 10 Jan 2021 03:21:04 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/618318/1048890#target">William Labbett</a> said:</div><div class="quote"><p>Thanks Dizzy Egg. You&#39;ve found the answer for me. I got it working now.</p></div></div><p>

You&#39;re welcome <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dizzy Egg)</author>
		<pubDate>Sun, 10 Jan 2021 05:04:09 +0000</pubDate>
	</item>
</rss>
