Date and Time Picker Controls Macros (Windows CE 5.0)

Send Feedback

The following table shows the date and time picker controls macros, with a description of the purpose of each.

Programming element Description
DateTime_GetMonthCal This macro retrieves the handle to a date and time picker's (DTP) child month calendar control.
DateTime_GetMonthCalColor This macro retrieves the color for a specified portion of the month calendar within a date and time picker (DTP) control.
DateTime_GetMonthCalFont This macro retrieves the font that the date and time picker (DTP) control's child month calendar control is currently using.
DateTime_GetRange This macro retrieves the current minimum and maximum allowable system times for a date and time picker (DTP) control.
DateTime_GetSystemtime This macro retrieves the currently selected time from a date and time picker (DTP) control and places it in a specified SYSTEMTIME structure.
DateTime_SetFormat This macro sets the display of a date and time picker (DTP) control based on a specified format string.
DateTime_SetMonthCalColor This macro sets the color for a specified portion of the month calendar within a date and time picker (DTP) control.
DateTime_SetMonthCalFont This macro sets the font to be used by the date and time picker (DTP) control's child month calendar control.
DateTime_SetRange This macro sets the minimum and maximum allowable system times for a date and time picker (DTP) control.
DateTime_SetSystemtime This macro sets a date and time picker (DTP) control to a specified date and time.

See Also

Date and Time Picker Controls Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.