Public Function EnumChildProc (ByVal hwnd As Long, ByVal lParam As Long) As Long
' application-defined code goes here
End Function
EnumChildProc is an application-defined callback function used by EnumChildWindows for each window enumerated. This function should process the window in whatever manner is required. This function does not necessarily have to be named EnumChildProc -- that is merely the name given to it in discussions about the API.
If the function returns 0, EnumChildWindows will immediately stop enumerating child windows. If the function returns a non-zero value, EnumChildWindows will continue enumerating child windows until it can no longer find any.
Like all callback functions, EnumChildProc must be declared Public and be defined in a module.
Go back to the Callback Function listing.
Go back to the Reference section index.
Last Modified: August 15, 1999
This page is copyright © 1999 Paul Kuliniewicz.
Copyright Information Revised October 29, 2000
Go back to the Windows API Guide home page.
E-mail: vbapi@vbapi.com Send Encrypted E-Mail
This page is at http://www.vbapi.com/ref/e/enumchildproc.html