Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi,
I was successful in creating a full screen window but really unable to hide taskbar.
It vanishes after couple of seconds after the full screen window is initiated.

Can you please let me know how to even hide the task bar ?

:)
Posted
Updated 20-Oct-20 9:46am

I was just looking for a way of hiding the Task Bar and came across this question.
After doing some research and running some tests, I am going to show how to hide the Task Bar, regardless of using Full screen mode or not.

static HWND hShellWnd = ::FindWindow(_T("Shell_TrayWnd"), NULL);
ShowWindow(hShellWnd, SW_HIDE);
 
Share this answer
 
Look here:
http://stackoverflow.com/questions/2382464/win32-full-screen-and-hiding-taskbar[^]

You can also take a look at http://msdn.microsoft.com/en-us/library/windows/desktop/ms724947(v=vs.85).aspx#Desktop[^]

Were you can see the desktop parameters which cover the space occupied by the taskbar.

Probably there will be better methods out there...

Good luck!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900