|
bigguy, there's an ancient VB application called "WinHwnd" that is an example of what I believe you're looking to do. Not sure if you can still find that program on-line anymore.
If I recall correctly, you send the WM_GETTEXTLENGTH and WM_GETTEXT windows messages to the target window, in order to get the title.
Use the Win API function "GetClassName" to get the class name.
Don't know if there is a better [insulated] way to do all this in VB.Net. There probably is.
|