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

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...