property NAVHostCtrl.hWnd as Long
Indicates the handle to the window ( HWND ) that hosts the assembly.

TypeDescription
Long A Long expression that indicates the handle to the window ( HWND ) that hosts the assembly.
The hWnd property returns the handle of the window that displays the NAVHost control. The hWnd property does not return the handle of the hosting control. The Microsoft Windows operating environment identifies each form and control in an application by assigning it a handle, or hWnd. The hWnd property is used with Windows API calls. Many Windows operating environment functions require the hWnd of the active window as an argument. The Host property returns the object being created and hosted by the NAVHost control. The hosting control's properties or methods must be called using the Item, SetTemplateDef or Template property.