property Element.Window as Long
Returns or sets the handle of the window to be hosted by the element.

TypeDescription
Long A HANDLE expression that specifies the handle of the window to be hosted by the current element.
By default, the Windows property is 0. The Window property has effect only, if the element's Type property is set on exElementHostWindow. The Window property may be used to associate an existent window from your form or dialog to be hosted by an element on the surface. Use the InsertControl method to add a new element whose Type property is set on exElementHostControl, and so to host a new ActiveX control.