cryton2707 Posted November 15, 2004 Share Posted November 15, 2004 Im new to autoit and espcially the gui functions.. Can anyone please tell me the code to create a Gui with no border (no minimise icons or maximize icon or close icon) or with as little border as possible.. thanks Welcome to the internet :) where men are men! Women are men! and 16 year old women are FBI agents! Link to comment Share on other sites More sharing options...
normeus Posted November 15, 2004 Share Posted November 15, 2004 search help file for GuiCreate from help file: GUICreate ( "title" [,width [,height [,left (, top [,style [,ExtendedStyle] [,parent]]]]] ) try this but if you search the help file you'll find a mode that is more to your liking: GUICreate("a big window centered", 397, 450, -1, -1,$WS_DLGFRAME) http://www.autoitscript.com/autoit3/scite/...iTe4AutoIt3.exe Link to comment Share on other sites More sharing options...
scriptkitty Posted November 15, 2004 Share Posted November 15, 2004 Here is one with only a titlebar. #include <GUIConstants.au3> GUICreate("Information","300","100","","","0x00800000") ; Has titlebar only GUISetState (@SW_SHOW) ; will display an empty dialog box ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend AutoIt3, the MACGYVER Pocket Knife for computers. Link to comment Share on other sites More sharing options...
Nova Posted November 15, 2004 Share Posted November 15, 2004 (edited) Here ya go #include <GUIConstants.au3> $Gui = GUICreate("Gui", @DesktopWidth, @DesktopHeight, -1, -1, $WS_POPUP) GUISetState(@SW_SHOW) While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend Enjoy Edit : This has (no border no minimise icons or maximize icon or close icon and no title) Edited November 15, 2004 by nova Link to comment Share on other sites More sharing options...
scriptkitty Posted November 15, 2004 Share Posted November 15, 2004 Might want to make it a bit smaller though: #include <GUIConstants.au3> $Gui = GUICreate("Gui", 400,100, -1, -1, "0x80000000") GUISetState(@SW_SHOW) While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend AutoIt3, the MACGYVER Pocket Knife for computers. 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