Carpii
2005-10-17 16:39:56 UTC
Hi,
I have a custom CWnd control, using VC6.0
I added a MouseWheel handler to the control
afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
and a function body,
BOOL CTab::OnMouseWheel(UINT nFlags, short zDelta, CPoint pt)
{
MessageBeep(0);
return 0;
}
When I breakpoint MessageBeep(0), i see that it is not being called
even when I mousewheel over the CWnd control.
Is there anything else I need to do to handle these messages in my
custom control.
Thanks
Carpii
I have a custom CWnd control, using VC6.0
I added a MouseWheel handler to the control
afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
and a function body,
BOOL CTab::OnMouseWheel(UINT nFlags, short zDelta, CPoint pt)
{
MessageBeep(0);
return 0;
}
When I breakpoint MessageBeep(0), i see that it is not being called
even when I mousewheel over the CWnd control.
Is there anything else I need to do to handle these messages in my
custom control.
Thanks
Carpii