Retrieves the control's window handle.
Type | Description | |||
Long | A long value that indicates the control's window handle. |
Use the hWnd property to get the control's main window handle. Use the hWndDropDown property to retrieve the handle of the drop down window. 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.