![]() |
Clock Value Flag Constants |
Header: ControlDefinitions.h |
enum ControlClockFlags { kControlClockFlagStandard = , kControlClockNoFlags = , kControlClockFlagDisplayOnly = 1, kControlClockIsDisplayOnly = 1, kControlClockFlagLive = 2, kControlClockIsLive = 2 };
Indicates that clock is editable but does not display the current live time.
When only this bit is set, the clock is not editable. When this bit and the kControlClockIsLive bit is set, the clock automatically updates on idle (clock will have the current time).
When only this bit is set, the clock automatically updates on idle and any changes to the clock affect the system clock. When this bit and the kControlClockIsDisplayOnly bit is set, the clock automatically updates on idle (clock will have the current time), but is not editable.
You can use the clock value flag constants to specify behaviors for a clock control. You can pass one or more of these mask constants into the control ('CNTL') resource or in the initialValue parameter of
© 2000 Apple Computer, Inc. (Last Updated 5/8/2000)