DefWindowProc The DefWindowProc function calls the default window procedure to provide default processing for any window messages that an application does not process. This function ensures that every message is processed. DefWindowProc is called with the same parameters received by the window procedure.
VB4-32,5,6
Declare Function DefWindowProc Lib "user32" Alias "DefWindowProcA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long |
Operating Systems Supported |
Requires Windows NT 3.1 or later; Requires Windows 95 or later |
- hWnd
Identifies the window procedure that received the message.
- Msg
Specifies the message.
- wParam
Specifies additional message information. The content of this parameter depends on the value of the Msg parameter.
- lParam
Specifies additional message information. The content of this parameter depends on the value of the Msg parameter. |
The return value is the result of the message processing and depends on the message. |
|