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::WindowProc

  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::WindowProc 

Provides a Windows procedure (WindowProc) for a CWnd object.

virtual LRESULT WindowProc(
   UINT message,
   WPARAM wParam,
   LPARAM lParam 
);

Parameters

message

Specifies the Windows message to be processed.

wParam

Provides additional information used in processing the message. The parameter value depends on the message.

lParam

Provides additional information used in processing the message. The parameter value depends on the message.

The return value depends on the message.

It dispatches messages through the window's message map.

This method is not supported in smart device projects.

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