KJohn Posted July 15, 2007 Posted July 15, 2007 Can anyone give me the style/ex-style combo for a GUI that doesn't appear in the taskbar? Please note: there is no parent child relationship. This GUI will be the only gui for the script.
Moderators SmOke_N Posted July 15, 2007 Moderators Posted July 15, 2007 $WS_EX_TOOLWINDOW 0x00000080 Creates a tool window; that is, a window intended to be used as a floating toolbar. A tool window has a title bar that is shorter than a normal title bar, and the window title is drawn using a smaller font. A tool window does not appear in the taskbar or in the dialog box that appears when the user presses ALT+TAB. If a tool window has a system menu, its icon is not displayed on the title bar. However, you can display the system menu by typing ALT+SPACE. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Siao Posted July 15, 2007 Posted July 15, 2007 Or if you want your GUI to have normal look, make it a child of another hidden GUI. $dummy = GUICreate("Hidden") GUISetState(@SW_HIDE, -1) $maingui = GUICreate("Main",-1,-1,-1,-1,-1,-1, $dummy) "be smart, drink your wine"
KJohn Posted July 16, 2007 Author Posted July 16, 2007 Or if you want your GUI to have normal look, make it a child of another hidden GUI. $dummy = GUICreate("Hidden") GUISetState(@SW_HIDE, -1) $maingui = GUICreate("Main",-1,-1,-1,-1,-1,-1, $dummy) Exactly what I was looking for. I knew about the tool window but it didn't serve my purpose.
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