Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CWnd::DefWindowProc
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  Protected: virtual LONG DefWindowProc( UINT message, UINT wParam,
                                         LONG lParam );
 
  Parameter   Description
 
  <message>   Specifies the Windows message to be processed.
 
  <wParam>    Specifies 16 bits of additional message-dependent
              information.
 
  <lParam>    Specifies 32 bits of additional message-dependent
              information.
 
  Remarks
 
  Calls the default window procedure, which provides default processing
  for any window message that an application does not process. This member
  function is used to ensure that every message is processed. It should be
  called with the same parameters as those received by the window
  procedure.
 
  The source code for the DefWindowProc function is provided on the
  Windows Software Development Kit disks.
 
  Return Value
 
  Dependent on the message that was passed to this function.
 
  See Also
 
  ::DefDlgProc, CWnd::Default, ::DefWindowProc
 
 
                                     -♦-