Jump to content

On pressing enter doesnt move to a new line

Recommended Posts


I have edit box. On pressing enter it doesnt move to a new line. How can I change this?

#include <GuiConstants.au3>
#include <GuiEdit.au3>
; ================= main GUI ====================
$Main = GUICreate ("test", 200,150 )
$hEdit = GUICtrlCreateEdit("", 10, 10, 180, 100, $ES_AUTOVSCROLL+$WS_VSCROLL )

GUISetState ()

While 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop


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


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.