Export (0) Print
Expand All
Expand Minimize

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.

See Also

CWnd Overview | Class Members | Hierarchy Chart | CWnd::Default | DefWindowProc

Show:
© 2014 Microsoft