This documentation is archived and is not being maintained.

CWnd::WindowProc

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

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

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.

Header: afxwin.h

Show: