dabus Posted May 5, 2006 Share Posted May 5, 2006 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 More sharing options...
Emperor Posted May 5, 2006 Share Posted May 5, 2006 (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 May 5, 2006 by Emperor Link to comment Share on other sites More sharing options...
Zedna Posted May 5, 2006 Share Posted May 5, 2006 (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 tasbarEDIT: this is simple working way without hidden parent window Edited May 5, 2006 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
spyrorocks Posted May 7, 2006 Share Posted May 7, 2006 yay, I was kinda wondering this myself. [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center] Link to comment Share on other sites More sharing options...
dabus Posted May 8, 2006 Author Share Posted May 8, 2006 Thank you guys , $WS_EX_TOOLWINDOW is what i've searched for. Too cool. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now