News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Editbox Control

Started by Bieb, December 25, 2004, 03:38:16 AM

Previous topic - Next topic

Bieb

Okay, I've learned the basics of messaging with controls, and learned how to get a controls window handle, and use that handle with the Easy Code property set and get macros, but now I'm having a problem with the edit box control.  I use the GetText macro, and it always returns the original text property value that was set at design time, even if the user has typed different text into the edit box.  Do I need to interpret some messages and manually change this value?  If so, how?

And, by the way...
MERRY CHRISTMAS!And a happy Wintereenmas to all!

John

I don't know anything about Easy Code, sorry. You should be able to get the text of the control using GetWindowText though provided you have the handle to the control.

This would also be covered in tutorial #9 by Iczelion:
http://spiff.tripnet.se/~iczelion/tut9.html

Ramon Sala

Hi Bieb,

As John said, you can get the text of a control by using GetWindowText. Anyway, GetText should work okay too. If it doesn't, there is probably a bug. I'll have a look at the code and fix what is wrong.

Regards,

Ramon
Greetings from Catalonia