Jump to content

Recommended Posts


If $msg = $editbox Then

Edit: Above doesn't work, this does.

#include <GUIConstants.au3>

GUICreate("My GUI edit"); will create a dialog box that when displayed is centered

$myedit=GUICtrlCreateEdit ("First line"& @CRLF, 176,32,121,97,$ES_AUTOVSCROLL+$WS_VSCROLL)

GUISetState ()

GUICtrlSetData ($myedit, "Second line",1)

While 1
    $msg = GUIGetMsg()
    $test = GUIGetCursorInfo ()
    If $msg = $GUI_EVENT_PRIMARYDOWN AND $test[4] = $myedit Then
    If $msg = $GUI_EVENT_CLOSE Then Exit
Edited by Burrup


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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...