编辑控制的文本改变了的消息在C ++ \ WIN32文本、编辑、消息、改变了

2023-09-04 02:46:23 作者:如你笨拙

什么是在.NET中框TextChanged属性C ++ \ Win32的?

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

推荐答案

假设你正在谈论的 Edit控件, EN_CHANGE 是你要找的通知。编辑控件的父接收通过WM_COMMAND消息,与 HIWORD(wParam中)== EN_CHANGE LOWORD(wParam中)==编辑控件标识符的lParam ==编辑控件HWND

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.

 
精彩推荐
图片推荐