Udostępnij za pośrednictwem


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.

Return Value

Depends on the message sent.

Remarks

This member function ensures that every message is processed. It should be called with the same parameters as those received by the window procedure.

Requirements

Header: afxwin.h

See Also

Concepts

CWnd Members

Reference

CWnd Class

Hierarchy Chart

CWnd::Default

DefWindowProc