FireLord Posted November 13, 2007 Share Posted November 13, 2007 How do I take away the blue title bar and borders around my program and add my own? Do I have to make an image in paint to reference it to? I'm lost. [center]See the Helpfile[/center] While Alive() DrinkWine(); }[center][/center] Link to comment Share on other sites More sharing options...
Jex Posted November 13, 2007 Share Posted November 13, 2007 That script from my messenger login screen. #include <GUIConstants.au3> $Width = 154 $Height = 235 $Form = GUICreate("", $Width, $Height, -1, -1, BitOR($WS_POPUP, $WS_BORDER)) $Close = GUICtrlCreateLabel("X", $Width - 15, 0, 11, 20) GUICtrlSetFont(-1, 10, 800, 0, "Comic Sans MS") GUICtrlSetColor(-1, 0xFFFFFF) GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) GUICtrlSetCursor(-1, 0) $Formtitle = GUICtrlCreateLabel(" Login Screen", 0, 4, @DesktopWidth, 20, -1, $GUI_WS_EX_PARENTDRAG) GUICtrlSetColor(-1, 0xFFFFFF) GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) $Formtitlebackground = GUICtrlCreateGraphic(0, 0, @DesktopWidth, 22) GUICtrlSetBkColor(-1, 0x000000) $Input1 = GUICtrlCreateInput("", 16, 56, 121, 21) $Label1 = GUICtrlCreateLabel("Username :", 16, 32, 58, 17) $Input2 = GUICtrlCreateInput("", 16, 112, 121, 21, $ES_PASSWORD) $Label2 = GUICtrlCreateLabel("Password :", 16, 88, 56, 17) $Checkbox1 = GUICtrlCreateCheckbox("Save username", 16, 146, 97, 17) $Checkbox2 = GUICtrlCreateCheckbox("Save password", 16, 170, 97, 17) $Login = GUICtrlCreateButton("Login", 16, 200, 123, 25, 0) GUISetState(@SW_SHOW, $Form) While 1 If GUIGetMsg() = $Close Then Exit WEnd My scripts : Immediate Window , My Web Browser , Travian , Text Effect , Characters & Words per minute or second , Image Editor (ImageMagick) , Matrix style background effect ( Screensaver ) , Mail Sender , Protectlinks decoder and Rapidshare links checker , Fonts Fetcher , Region determine , Compare pictures , Gradient color box , Mouse Coordinates, Colors, Pixel Search things , Encrypt/Decrypt and embeding file in jpeg thing , Hard disk space monitor , Reflex game , Multiplayer Tic Tac Toe , WLM ( MSN ) personal message changer Link to comment Share on other sites More sharing options...
Josbe Posted November 13, 2007 Share Posted November 13, 2007 How do I take away the blue title bar and borders around my program and add my own? Do I have to make an image in paint to reference it to? I'm lost.Variable $WS_POPUP in style parameter give you a popup window. Check this: GUICreate("Test", 217, 201, 193, 115, $WS_POPUP) Read more about this in the helpfile. AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
FireLord Posted November 16, 2007 Author Share Posted November 16, 2007 (edited) Thank you, both of your suggestions were of great help. @Jex: Love the login screen Edited November 16, 2007 by FireLord [center]See the Helpfile[/center] While Alive() DrinkWine(); }[center][/center] 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