Returns a handle to Forms and user-defined Toolbar objects.
The Microsoft Windows operating environment identifies each form 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.
Because the value of this property can change while a program is running, you cannot rely on its value (e.g., when stored in a variable).
hWnd is available in user-defined Forms and Toolbar objects and is read-only at both run and design-time.