thoms Posted January 21, 2008 Share Posted January 21, 2008 I searched the AutoIt Help with no result. I tried to search the forum, but too many posts with "title" or "window". I'm too lazy to seek across more than 2000 posts. So, how can I create a GUI with no title bar (blue bar)? I tried to set the "title" item empty, but the title bar disappear only when I move the box. Any idea? I'm very new with AutoIt3, but it's very great! Thx, Thoms Link to comment Share on other sites More sharing options...
stampy Posted January 21, 2008 Share Posted January 21, 2008 Not sure if this is all you mean..... #include <GUIConstants.au3> GUICreate('',400,400,-1,-1,$WS_POPUP) GUISetState() While 1 WEnd Link to comment Share on other sites More sharing options...
thoms Posted January 21, 2008 Author Share Posted January 21, 2008 Not sure if this is all you mean..... #include <GUIConstants.au3> GUICreate('',400,400,-1,-1,$WS_POPUP) GUISetState() While 1 WEndLooks like, but I've to define borders, colors, and other ... What I'd liked is a standard window that only displays the window with no title, that already as borders and colors like the MsgBox! Thx for help, Stampy! Link to comment Share on other sites More sharing options...
star2 Posted January 21, 2008 Share Posted January 21, 2008 #include <GuiConstants.au3> ; ================= main GUI ==================== $Main = GUICreate ("test", 200,150,-1,-1,$WS_POPUP+$WS_THICKFRAME) GUISetState () While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WEnd [quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u] Link to comment Share on other sites More sharing options...
thoms Posted January 21, 2008 Author Share Posted January 21, 2008 #include <GuiConstants.au3> ; ================= main GUI ==================== $Main = GUICreate ("test", 200,150,-1,-1,$WS_POPUP+$WS_THICKFRAME) GUISetState () While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WEndLooks fine! I'll try that later, cause need to sleep sometimes! Thx star2! thoms Link to comment Share on other sites More sharing options...
JusGellin Posted January 21, 2008 Share Posted January 21, 2008 #include <GuiConstants.au3> ; ================= main GUI ==================== $Main = GUICreate ("test", 200,150,-1,-1,$WS_POPUP+$WS_THICKFRAME) GUISetState () While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WEndThat is sooo cool! Even simple things can be impressive. Link to comment Share on other sites More sharing options...
qwert Posted January 22, 2008 Share Posted January 22, 2008 A related question: Can the foundation color be changed? In other words, this example GUI comes up in a default color (tan on my PC) that I would like to change to light blue. Can that be done without having to create a separate control to overlay the foundation color?Thanks. Link to comment Share on other sites More sharing options...
star2 Posted January 22, 2008 Share Posted January 22, 2008 see the help file for GUISetBkColor #include <GuiConstants.au3> $Main = GUICreate ("test", 200,150,-1,-1,$WS_POPUP+$WS_THICKFRAME) GUISetBkColor (0x80FFFF) GUISetState () While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WEnd [quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u] Link to comment Share on other sites More sharing options...
qwert Posted January 22, 2008 Share Posted January 22, 2008 Thanks for the response. Is there a way to change the border colors? -- are is that only set/controlled by the windows theme? Link to comment Share on other sites More sharing options...
Swift Posted January 22, 2008 Share Posted January 22, 2008 just lookup everything there is to do with color...that should help. Link to comment Share on other sites More sharing options...
qwert Posted January 22, 2008 Share Posted January 22, 2008 Actually, no, that didn't help. I got 134 hits on "color" when doing a search on the help file. BTW, I only asked the question because it seemed I was only one step away from a full understanding of what is controlling this simple GUI (every other aspect is specified in the script). Link to comment Share on other sites More sharing options...
Ármányos Kő Posted January 23, 2008 Share Posted January 23, 2008 Actually, no, that didn't help. I got 134 hits on "color" when doing a search on the help file. BTW, I only asked the question because it seemed I was only one step away from a full understanding of what is controlling this simple GUI (every other aspect is specified in the script).How about reading through the Help file? That should be shorter with some simpler listing.Launch it, use Index tab, and type GUI.From there it should tell everything to you. 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