Tagor Posted April 2, 2005 Posted April 2, 2005 Is it possible to create a popup without min/max/close buttons. I was unable to find this in the manual. I searched in GUI Control Styles without luck.
GaryFrost Posted April 2, 2005 Posted April 2, 2005 look in the style for GuiCreate in the help file #include <GuiConstants.au3> If Not IsDeclared('WS_CLIPSIBLINGS') Then Global $WS_CLIPSIBLINGS = 0x04000000 GuiCreate("MyGUI", 392, 322,(@DesktopWidth-392)/2, (@DesktopHeight-322)/2 , $WS_POPUP) $button = GUICtrlCreateButton("E&xit", 150, 280,100,20) GuiSetState() While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $button ExitLoop Case Else ;;; EndSelect WEnd Exit SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Tagor Posted April 2, 2005 Author Posted April 2, 2005 (edited) Is there a way to have a title bar? Edited April 2, 2005 by Tagor
GaryFrost Posted April 2, 2005 Posted April 2, 2005 GuiCreate("MyGUI", 392, 322,(@DesktopWidth-392)/2, (@DesktopHeight-322)/2 , $WS_POPUP+$WS_CAPTION) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Tagor Posted April 2, 2005 Author Posted April 2, 2005 Thanks a lot. Can you also tell me how to automatically close this window? Since winclose(title) kills the whole program.
Developers Jos Posted April 2, 2005 Developers Posted April 2, 2005 Thanks a lot. Can you also tell me how to automatically close this window? Since winclose(title) kills the whole program.<{POST_SNAPBACK}>GUIDelete() ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
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