Edit control doesn't generate WM_COMMAND messages

巧了我就是萌 提交于 2019-12-02 00:23:48
David Heffernan

For an edit control, notifications are sent to the original parent of the control. That is, in your case, the message only window.

In a comment to a similar question Raymond Chen says:

Many controls cache the original parent. Not much you can do about it.

You may be best postponing creation of the edit control until you have created its parent.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!