Sign in to follow this  
Followers 0
dabus

How Do I Create Windows Without Taskbar-entries?

5 posts in this topic

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?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

$gui = GUICreate("Title", 300, 200, 0, 0, $WS_POPUP, BitOR($WS_EX_TOPMOST,$WS_EX_TOOLWINDOW))

$WS_EX_TOOLWINDOW is there for achieve to hide window from tasbar

EDIT: this is simple working way without hidden parent window :)

Edited by Zedna

Share this post


Link to post
Share on other sites

Thank you guys , $WS_EX_TOOLWINDOW is what i've searched for. Too cool. :)

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  
Followers 0