News:

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

Edit Box mesasges?

Started by Bieb, June 07, 2005, 05:01:30 PM

Previous topic - Next topic

Bieb

Do edit boxes send messages when their text is changed the way a button does when it's clicked?  If so, which one?  And if not, do I have to subclass the edit box to find out when it's text is changed?

Tedd

The parent gets a WM_COMMAND message, with LOWORD(wParam) as the notification and lParam as the handle of the edit control.

The two notifications you'll want to look at are:

EN_UPDATE - sent when the text is changed, but before it's re-displayed
EN_CHANGE - sent after the control has been re-drawn
No snowflake in an avalanche feels responsible.

Bieb