If I have an IE Window up and browsing. How can I tell, using api, which part of the frame has the focus? Ie, the back button, the address box, the ierserver page, the menu? Basically I need to send messages to each of these sub sets but I need to know where the focus is first.

any ideas?