GethWndByObjectHandle

 

Description

 

Returns the Window handle (HWND) of the rendering window for the page instance specified by the hObject argument.

 

Arguments

 

Name

Type

I/O

Description

HObject

Long Integer

In

The ObjectHandle for the page of interest (zero 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. Only one such window is visible when the visible page is not a FRAMESET, but in a FRAMESET page there is a visible window for each FRAME page.