Is it possible to use 'SendMessage' to do the following tasks in an application that is not under my control...

[1] Look for a treeview control in a given window.
[2] Look for an item in the treeview control identified in task 1.
[3] Select the item in the treeview as identified in task 2.

So, for example, I want my VB app to first locate the Outlook express window. Next, see if there is a treeview control present on the window. Then if its found, select the item 'Outlook Express\Local Folders\Inbox' in the tree.

Any takers...?

Thanks