MFC Window Procedure
Posted on 1998-12-09
With 32-bit version of MFC, Windows classes are no longer registered with the AfxWndProc() function - instead they are registered with DefWindowProc() as the message handler. However, AfxWndProc() is still there and it dispatches messages to various CWnd derived objects. My question is:
What is the main purpose behind using DefWindowProc() as the registered window procedure and yet how do messages end up in AfxWndProc()?