A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



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

Library
User32

Parameter Information
- 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.

Return Values
The return value is the result of the message processing and depends on the message.

Last update: 07 April 2006