property Calendar.hWnd as Long
Retrieves the calendar's window handle.

TypeDescription
Long A long expression that indicates the calendar's window handle.
Use the hWnd property to get the handle of the calendar panel. Use the hWnd property to get the handle of the 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. Use the Parent property to host the calendar panel by another window.