Unicode Controls & Classes for VB6 - Version 4

ISubclass.WindowProc Method

Windows procedure function for Windows messages management

Syntax
Private Sub WindowProc (ByVal bBefore As Boolean, _
ByRef bStopMsg As Boolean, _
ByRef lReturn As Long, _
ByVal hWnd As Long, _
ByVal uMsg As Long, _
ByVal wParam As Long, _
ByVal lParam As Long)
Parameters
Parameter Description
ByVal bBefore As Boolean Is the message arriving before the standard one? If False the message arrives after (because it has been attached
using the After flag in the AttachMessage function)
ByRef bStopMsg As Boolean Stop the message propagation after the management?
ByRef lReturn As Long Value to return to the original Windows procedure
ByVal hWnd As Long Handle of the Window
ByVal uMsg As Long Message identifier
ByVal wParam As Long Original wParam parameter
ByVal lParam As Long Original lParam parameter
Remarks