With the V6 class wizard gone, I'm having trouble setting up even a simple event handler for an MFC dialog:
In "progDlg.cpp":
In "progDlg.h":
Was the V6 Class Wizard doing more than this? The .net help library was characteristically unhelpful in explaining how to transition from V6.
In "progDlg.cpp":
Code:
void CMouseandKeyboardDlg::OnMouseMove(UINT nFlags, CPoint point)
{
if ((nFlags & MK_LBUTTON) == MK_LBUTTON)
{
CClientDC dc(this);
dc.SetPixel(point.x, point.y, RGB(255, 255, 255));
}
CDialog::OnMouseMove(nFlags, point);
}
In "progDlg.h":
Code:
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
Was the V6 Class Wizard doing more than this? The .net help library was characteristically unhelpful in explaining how to transition from V6.