sharpe
New member
I would like to learn about handles (hWnd) I know nothing about it and would like to hear if anyone knows of any papers that would help me get started.
Thanks.
Thanks.
Public Delegate Function CallBack( _
ByVal hwnd As Integer, _
ByVal lParam As IntPtr) As Boolean
Public Declare Function EnumChildWindows Lib "user32" ( _
ByVal hwnd As Integer, _
ByVal lpEnumFunc As CallBack, _
ByVal lParam As Integer) As Integer
Public Shared Function ReceiveWindowHandles(ByVal hwnd As Integer, ByVal lParam As IntPtr) As Boolean
Receive handles here
End Function
Call EnumChildWindows as such:
EnumChildWindows(Me.Handle.ToInt32, AddressOf Me.ReceiveWindowHandles, 0)