GetObjecthWnd

 

Description

 

Returns the Window handle (HWND) of the rendering window for the page specified by the URL argument, suitable for use in Windows API calls.

 

Arguments

 

Name

Type

I/O

Description

URL

String

In

The page of interest (blank for the current page).

 

Return Value

 

OLE_HANDLE: the returned window handle is suitable for use in Windows API calls.

 

Remarks

 

This method provides an HWND for direct API access to the window on which a specified page is rendered.

 

When a FRAMESET page is visible then there is a visible window for each FRAME page. If more than one FRAME page has the specified URL, then GetObjecthWnd will arbitrarily return the HWND of the rendering window for one of pages associated with that URL. Use the GethWndByObjectHandle method to distinguish between multiple instances of FRAME pages with the same URL.