BOOL CMyButton::OnChildNotify( UINT message, WPARAM wParam, LPARAM lParam,
LRESULT* pLResult )
{
BOOL bRes = CButton::OnChildNotify( message, wParam, lParam, pLResult );
if (<Your wish that your dialog processes click notification >)
return FALSE;
return bRes;
}