topten

On pressing enter doesnt move to a new line

4 posts in this topic

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
WEnd

 

Share this post


Link to post
Share on other sites



Add the $ES_WANTRETURN style   ;)

Share this post


Link to post
Share on other sites

:dance:

Share this post


Link to post
Share on other sites

You can get some funky returns adding together binary data...use BitOr instead.


IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

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