Public Function EnumThreadWndProc (ByVal hwnd As Long, ByVal lParam As Long) As Long
' application-defined code goes here
End Function
EnumThreadWndProc is an application-defined callback function used by EnumThreadWindows for each window enumerated. This function should process the window in whatever manner is required. This function does not necessarily have to be named EnumThreadWndProc -- that is merely the name given to it in discussions about the API.
If the function returns 0, EnumThreadWindows will immediately stop enumerating thread windows. If the function returns a non-zero value, EnumThreadWindows will continue enumerating thread windows until it can no longer find any.
Like all callback functions, EnumThreadWndProc must be declared Public and be defined in a module.
Last Modified: August 15, 1999
This page is copyright © 1999 Paul Kuliniewicz. Copyright Information