Once you have the window handle you can get all this additional information using the windows API. There are a number of calls, all of which are wrapped up in this ApiWindow class.

To use it:
VB Code:
  1. Dim wndTest As New ApiWindow
  2.  
  3. wndTest.hwnd = WindowFromPoint(ptThis)
  4.  
  5. Debug.print wndTest.WNDCLASS.lpszClassname 'eg. ThunderList is a VB listbox etc...
  6. Debug.Print wndTest.WindowText 'if its a textbox this is the text , etc...

There are a whole raft of other properties - which you would like to know about?

HTH,
Duncan