Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Edit Control Text Changed Message in C++\Win32

What is the Message that matches the TextChanged property in .NET for C++\Win32?

like image 950
Grant Avatar asked Aug 08 '10 19:08

Grant


1 Answers

Assuming you're talking about the Edit control, EN_CHANGE is the notification you're looking for. The parent of the Edit control receives the notification via the WM_COMMAND message, with HIWORD(wParam) == EN_CHANGE, LOWORD(wParam) == edit control identifier and lParam == edit control HWND.

like image 56
In silico Avatar answered Sep 20 '22 17:09

In silico