Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize


Calls the default window procedure, which provides default processing for any window message that an application does not process.

virtual LRESULT DefWindowProc( 
   UINT message, 
   WPARAM wParam, 
   LPARAM lParam  


Specifies the Windows message to be processed.


Specifies additional message-dependent information.


Specifies additional message-dependent information.

Depends on the message sent.

This member function ensures that every message is processed. It should be called with the same parameters as those received by the window procedure.

Header: afxwin.h

© 2015 Microsoft