Parent window has
It works when I am using CEditCode:COMMAND_HANDLER_EX(0, EN_CHANGE, OnEdit)
But it does not work when I am using CMyEdit.
What do I have to do?Code:class CMyEdit : public CWindowImpl<CMyEdit , CEdit>
Printable View
Parent window has
It works when I am using CEditCode:COMMAND_HANDLER_EX(0, EN_CHANGE, OnEdit)
But it does not work when I am using CMyEdit.
What do I have to do?Code:class CMyEdit : public CWindowImpl<CMyEdit , CEdit>
Show some other parts of your code where CMyEdit instance is defined, initialized and so on...
I think thees are the general parts of the code.Code:class CMyEdit : public CWindowImpl<CMyEdit, CEdit>
{
public:
BEGIN_MSG_MAP(CMyEdit)
END_MSG_MAP()
};
If I use CEdit parent window catches EN_CHANGE. If I use CMyEdit it doesn't.
Read about Reflecting Notifications here