Example Code

Programmatically Hide the Windows Taskbar

Code and Documents


The Hide Windows Taskbar VI will programmatically show or hide the Windows Taskbar. This can be useful if you need to use the full screen of the primary monitor and not allow the user access to the Start Menu with the mouse. Press <Ctrl-Esc> to show the Start Menu.

The VI calls the Windows API and uses the SetWindowPos function.

Open and run the Test HWT VI to demonstrate the functionality of the Hide Windows Taskbar VI.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.