Jump to content

GUICreateEDit Problem


Recommended Posts

Hello I have a edit box in my program to log events.

After about 5 hours or so , My edit box stops updating,

It stops printing the log data in the editbox.

Is this a known problem? and is there a fix?

Thanks,

MajSlayer420

There is a fixed limit on how much data an edit box can hold. About 32K if I remember correctly. It's a Windows thing, not AutoIt.
Auto3Lib: A library of over 1200 functions for AutoIt
Link to comment
Share on other sites

  • Moderators

GUICtrlSetLimit() will fix your issue.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

  • 4 months later...

I have used this before ..try this...

Global $EditBufSize = 281474976710656, $EM_LIMITTEXT = 0x00c5

$EDIT = GUICtrlCreateEdit("Your settings go here")
GUICtrlRecvMsg($EDIT, $EM_LIMITTEXT, $EditBufSize, 0)

This should give your edit control a big enough buffer

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...