when you get the text using WM_GETTEXT, the buffer will return the size of the field and not the length of the value therein.
my question now is, how do you get the actual length of the string value from the buffer ?
I tried len(sbuffer) but it still returns the size of the table field.
my question now is, how do you get the actual length of the string value from the buffer ?
I tried len(sbuffer) but it still returns the size of the table field.