I am using:

Code:
X = FindWindowEx(hwnd, 0&, "RICHEDIT", vbNullString)
to get the hWnd of one the rich edit boxes on a form of another program so I can send text to. This works fine, the problem I have is there are two rich edit boxes on the form how do I get the other rich edit box hWnd?