cryton2707 0 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! Share this post Link to post Share on other sites
normeus 0 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 Share this post Link to post Share on other sites
scriptkitty 1 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. Share this post Link to post Share on other sites
Nova 0 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 Share this post Link to post Share on other sites
scriptkitty 1 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. Share this post Link to post Share on other sites