CWnd::DefWindowProc

Syntax

Protected:
virtual LONG DefWindowProc( UINT
message, UINT wParam,
LONG
lParam );

Parameters

message

Specifies the Windows message to be processed.

wParam

Specifies 16 bits of additional message-dependent information.

lParam

Specifies 32 bits of additional message-dependent information.

Remarks

Calls the default window procedure, which provides default processing for any window message that an application does not process. This member function is used to ensure that every message is processed. It should be called with the same parameters as those received by the window procedure.

The source code for the DefWindowProc function is provided on the Windows Software Development Kit disks.

Return Value

Dependent on the message that was passed to this function.

See Also

::DefDlgProc, CWnd::Default, ::DefWindowProc