Take the 2-minute tour ×  When a standard window control (e.g.
an "EDIT" control) is created, its WNDPROC is defined as part of
the window class (i.e. "EDIT" has a specific WNDPROC that is
designed to make the window display & behave as an edit-
control).  MFC allows you to interact with such controls via
their wrapper classes, such as a CEdit wrappers the specialized
messages for an "EDIT" window control.  MFC further allows you
to bind an instance of an "EDIT" window to a C++ subclass of
CEdit, say a CMyEdit, where you can override inherited virtual
functions of CEdit and CWnd, and you can define a message table
to gain access / override messages sent to the window instance
itself.  There is CWnd::Default(), which calls this->DefWndProc
with the current message arguments. This appears to lookup the
WNDPROC for the HWND it is associated with. So is this the
correct answer: call DefWndProc() (or equally, Default()), which
will hand it off to the WNDPROC of the windows control?
Obviously, this is different tha