Never mind, found the answer.
Override the OnChildNotify function to call the base class's implementation, and then return 0:
BOOL CMyEdit::OnChildNotify(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pLResult)
{
CEdit::OnChildNotify(message, wParam, lParam, pLResult);
return 0;
}