Vcl.ComCtrls.TCommonCalendar.CalendarHandle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CalendarHandle: HWND read GetCalendarHandle;

C++

__property HWND CalendarHandle = {read=GetCalendarHandle, nodefault};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCommonCalendar

Description

Indicates the calendar control's window handle.

Use the CalendarHandle property to get the calendar control's window handle.

The CalendarHandle property is declared but not implemented in TCommonCalendar.

For descendants that use only one window, such as TMonthCalendar, CalendarHandle is the same as the Handle property. However, some TCommonCalendar descendants such as TDateTimePicker are implemented using more than one window. In these classes, CalendarHandle is the window handle for the portion of the control that displays date values.

See Also