Sign in to follow this  
Followers 0
WeMartiansAreFriendly

EM_SETLIMIT according to MSDN

2 posts in this topic

#1 ·  Posted (edited)

I have quick question...

Edit controls on Windows NT/2000/XP: For single-line edit controls' date=' the text limit is either 0x7FFFFFFE bytes or the value of the [i']wParam parameter, whichever is smaller. For multiline edit controls, this value is either –1 bytes or the value of the wParam parameter, whichever is smaller.

Does this mean the amount of characters is essentially limited to available memory for multiline edit controls (theoretically unlimited)?

Is the "-1 limit" also applied for a single line on a multiline edit control?

Does AutoIt place internal limits that bypass this?

Edited by WeMartiansAreFriendly

Don't bother, It's inside your monitor!------GUISetOnEvent should behave more like HotKeySet()

Share this post


Link to post
Share on other sites



I don' think it is unlimited. I think -1 depends on your system:

-1 in hex (x86): 0xFFFFFFFF

-1 in hex (x64): 0xFFFFFFFFFFFFFFFF

But this is just a guess.


Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots.
So far, the Universe is winning.

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