Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有处理 MFC 编辑框散焦事件的标准方法?我的意思是如果我点击框输入一些东西然后继续另一个组件处理事件被触发?感谢您的任何帮助!
是的,Windows 发送WM_KILLFOCUS。
MFC 使用EN_KILLFOCUS编辑框 IIRC。
EN_KILLFOCUS