Jump to content

How Do I Create Windows Without Taskbar-entries?


Recommended Posts

I would like to create a borderless window that sits on top of another window.

I don't want this window to create an entry in the taskbar like others do. What's the switch to hide those stuff? I search the helpfile but I must have missed it. :)

Any clues?

Link to comment
Share on other sites

The solution to your problem is to first create a hidden parent window then make your main GUI and child of that window.

#include <GuiConstants.au3>
$Parent = GUICreate("")
$Child = GUICreate("Title", 392, 316, -1, -1, $WS_POPUPWINDOW, $WS_EX_TOPMOST, $Parent)
GUISetState()
While 1
    Sleep(100)
WEnd
Exit

Edit: Not really related but just got a cool idea, this can be used as an alternative to the splash screen functions.

#include <GuiConstants.au3>
$Parent = GUICreate("")
$Child = GUICreate("Title", 284, 113, -1, -1, $WS_POPUPWINDOW, $WS_EX_TOPMOST, $Parent)
$Progress_1 = GUICtrlCreateProgress(10, 70, 260, 30)
$Label_2 = GUICtrlCreateLabel("Starting up...", 30, 30, 230, 20)
GUISetState()
For $i = 0 To 100
    GUICtrlSetData($Progress_1, $i)
    Sleep(100)
Next
Sleep(1000)
Exit
Edited by Emperor
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...