Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
Visual C++
Reference
Libraries Reference
MFC
Classes
CWnd Class
Member Functions
 CWnd::DefWindowProc

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
MFC Library Reference 
CWnd::DefWindowProc 

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 
);

Parameters

message

Specifies the Windows message to be processed.

wParam

Specifies additional message-dependent information.

lParam

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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker