I know this must be easier than I am making it but...
The EnumWindows api call requires that a pointer to the function that will
handle the values returned be passed as the second paramater. The AddressOf
operator won't produce the required "long" datatype. How do I get the
correct pointer for my handling function to put into the call?
Public Declare Function EnumWindows Lib "user32" (ByVal lpEnumFunc As
Long, ByVal lParam As Long) As Long
retval = EnumWindows((Pointer to EnumWinProc), 0)
--
Jim Brent