CWindowImpl::DefWindowProc

 

Called by WindowProc to process messages not handled by the message map.

Syntax

      LRESULT DefWindowProc(
   UINT uMsg,
   WPARAM wParam,
   LPARAM lParam 
);
LRESULT DefWindowProc( );

Parameters

  • uMsg
    [in] The message sent to the window.

  • wParam
    [in] Additional message-specific information.

  • lParam
    [in] Additional message-specific information.

Return Value

The result of the message processing.

Remarks

By default, DefWindowProc calls the CallWindowProc Win32 function to send the message information to the window procedure specified in m_pfnSuperWindowProc.

The function with no parameters automatically retrieves the needed parameters from the current message.

Requirements

Header: atlwin.h

See Also

CWindowImpl Class