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.

Return Value

The return value depends on the message.

Remarks

It dispatches messages through the window's message map.

Requirements

Header: afxwin.h

See Also

Reference

CWnd Class

Hierarchy Chart