Let's consider this code fragment :
BEGIN_MESSAGE_MAP(CMyCheckBox, CButton)
ON_WM_MOUSEMOVE()
END_MESSAGE_MAP()
void CMyCheckBox::OnMouseMove(UINT nFlags, CPoint point)
{
// here my code ....
CButton::OnMouseMove(nFlags, point); // <-- Is this important ?
}
Questions :
1- Is the base class call mandatory?
CButton::OnMouseMove(nFlags, point); // <-- Is this mandatory?
2- If I don't add it, what's going to happen? ( window message stack overflow for example ) ?
3- Is the base class call a form of message release
? If so, is there another way to release the message properly?