This method of the InternetExplorer class retrieves the handle to the Microsoft® Internet Explorer main window.
public native int getHWND();