IASClock

This interface provides methods to access the clock control.

Method
Description
IASClock::get_ClockFormat Gets the time and date format for the clock display.
IASClock::get_LabelFormat Gets the current label format.
IASClock::put_ClockFormat Sets the time and date format for the clock display.
IASClock::put_ClockLabel Specifies a label control to be used as a label field; usually, the label displays date information.
IASClock::put_LabelFormat Sets the current label format.
IASClock::put_ClockLabel0 Specifies a label control to be used as a label field; usually, the label displays time information.

Remarks

The IASClock interface, which has a global unique identifier equal to IID_ASCLOCK, extends the IASControl interface.

The clock control, which has a programmatic identifier equal to APC_Clock, can display either the time or the date. The clock control has two display regions: the clock proper and a label control that serves as the label. The clock control is an invisible control. The clock control displays the time in the label control attached by the put_ClockLabel0 method, and displays the date in the label control attached by the put_ClockLabel method.