Sign in to follow this  
Followers 0
LinuZ

Maximazed window

4 posts in this topic

#1 ·  Posted (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:

Posted 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 by LinuZ

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

for Number 2)

Follow the Link

Edited 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"

Share this post


Link to post
Share on other sites

Thanks a lot, just what I needed!

Keywords for this topic: Window GUI resize fullscreen full screen

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0