CFindWBCtrlFromHWND::ExamineBrowser

BOOLCFindWBCtrlFromHWND::ExamineBrowser(IWebBrowser2*pBrowser)

Examines browser control to see if it is related to the underlying HWND.

Defined in: WBUtilFuncs.cpp

Return Value

TRUE if related, FALSE if not.

Parameters

pBrowser

The browser to be examine for a relationship with the specified HWND.

Comments

It traverses the browser HWND's parent-child relation hierarchy upwards and sees if any of its parent HWND matches the specified HWND.