LinuZ Posted August 31, 2007 Posted August 31, 2007 (edited) I am making a sort of chat program takes you in full screen mode, and makes you stay there. Not at all rdy, just the GUI.The problem is: 1. How to take the "namebar" away, I do not need it.2. How to make the window unmoveable? So you cant move the window around.Very pleased for answers! Please, tell me what you need more information about, if you dont understand me.Image:I want that namebar gone.Source:#include <GUIConstants.au3> #Region ### START Koda GUI section ### Form=c:\l\autoit\koda_1.6.0.2\forms\hackwindow.kxf $Form1_1 = GUICreate("", 1021, 704, -1, -1, BitOR($WS_CAPTION,$WS_BORDER,$WS_CLIPSIBLINGS), BitOR($WS_EX_TOPMOST,$WS_EX_WINDOWEDGE)) GUISetCursor (7) GUISetFont(8, 400, 0, "Lucida Console") GUIctrlSetColor(-1, 0x00FF00) GUISetBkColor(0x000000) $Input1 = GUICtrlCreateInput("", 16, 672, 649, 19) GUICtrlSetFont(-1, 8, 400, 0, "Lucida Console") GUICtrlSetColor(-1, 0x00FF00) GUICtrlSetBkColor(-1, 0x000000) GUICtrlSetCursor ($Input1, 5) $send= GUICtrlCreateButton("Send", 672, 664, 75, 25, 0) GUICtrlSetFont(-1, 8, 400, 0, "Lucida Console") $Edit1 = GUICtrlCreateEdit("", 8, 8, 1017, 657, BitOR($ES_AUTOVSCROLL,$ES_AUTOHSCROLL,$ES_READONLY,$ES_WANTRETURN), 0) GUICtrlSetData(-1, "Chat") GUICtrlSetFont(-1, 8, 400, 0, "Lucida Console") GUICtrlSetColor(-1, 0x00FF00) GUICtrlSetBkColor(-1, 0x000000) GUISetState(@SW_SHOW) GUISetState(@SW_MAXIMIZE) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $send GUICtrlSetData($Edit1, "Dude > " & GUICtrlRead($Input1) & @CRLF & GUICtrlRead($Edit1)) GUICtrlSetData($Input1, "") EndSwitch WEnd Edited August 31, 2007 by LinuZ
mrbloody369 Posted August 31, 2007 Posted August 31, 2007 (edited) for Number 2)Follow the Link Edited August 31, 2007 by mrbloody369 Favorite Quotes"If you apply your mind you can create any thing you can dream of" "Any thing can get done by simply click of a button"
Zedna Posted August 31, 2007 Posted August 31, 2007 1) #include <GUIConstants.au3> GUICreate("", 300, 200, -1, -1, $WS_POPUP) GUISetState(@SW_SHOW) While GUIGetMsg() <> $GUI_EVENT_CLOSE WEnd Resources UDF ResourcesEx UDF AutoIt Forum Search
LinuZ Posted September 1, 2007 Author Posted September 1, 2007 Thanks a lot, just what I needed! Keywords for this topic: Window GUI resize fullscreen full screen
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