Jump to content
Sign in to follow this  

How to hide Windows Taskbar???

Recommended Posts



When opening the document properties window for a printer the Windows Taskbar will be displayed.

I would like to avoid that. Is there a way?

Here's a code sample:

#include <WindowsConstants.au3>

Local $hGUI = GUICreate("", @DesktopWidth, @DesktopHeight, 0, 0, $WS_POPUP)
Local $sPrinter = "FreePDF"

GUISetBkColor(0x484848, $hGUI)
GUISetState(@SW_SHOW, $hGUI)
WinSetTrans($hGUI, "", 234)

RunWait(@ComSpec & ' /C ' & @WindowsDir & '\system32\rundll32.exe printui.dll,PrintUIEntry /e /n"' & $sPrinter & '"', @WindowsDir & '\system32', @SW_HIDE)


In order to work you probably have to define an other printer for '$sPrinter'.

By the way: I'm still looking for a way to replace 'RunWait()' with 'DllCall()'.

So, if anybody has a suggestion... :mellow:



Edited by supersonic

Share this post

Link to post
Share on other sites

Thank you, good idea! :mellow:

Instead of hiding the window is it possible to set it into background?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.