Jump to content

Hide Autoit GUI from taskbar


Recommended Posts

Hello, I've been searching the forum for hours now and I can't find anything about this :)

So what I want to do is hide my AutoIt program from the taskbar WITHOUT hiding the window!

Could anyone help me out?

Edited by ffrankcool
Link to comment
Share on other sites

From the helpfile=

$WS_EX_TOOLWINDOW
How would I integrate it to my current GUI without loosing the 3 buttons at the top of the window:

$sGUI = GUICreate("Boudi's Tools", 125, 85, Default, Default, $GUI_SS_DEFAULT_GUI)

Link to comment
Share on other sites

I'm posting the code here frank(we spoke on msn earlier):

#include <GUIConstants.au3>

$Form1 = GUICreate("Form1", 633, 447, 193, 125, -1, -1, WinGetHandle("Program Manager")) ; <-- creating the window as a child of another window will remove it's entry in the task bar

GUISetState(@SW_SHOW)

While 1
    Switch GUIGetMsg()
        Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
WEnd
Link to comment
Share on other sites

  • 11 years later...

An old post, but helped me get the taskbar icon to not show up. Using...

GUICreate('Password Expiration Notification', 850, 420, -1, -1, $WS_POPUPWINDOW, $WS_EX_TOPMOST, WinGetHandle('Program Manager'))

There is no way to close or move the window without clicking OK or killing the process in TaskManager. Either way we can guarantee that the user saw the message.

Thanks to FreeFry and ffrankcool for the posts.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...