Compartir a través de


Date and Time Picker Controls Messages (Compact 2013)

3/28/2014

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

Programming element

Description

DTM_GETMCCOLOR

This message retrieves the color for a specified portion of the month calendar within a date and time picker (DTP) control.

DTM_GETMCFONT

This message retrieves the font that the date and time picker (DTP) control's child month calendar control is currently using.

DTM_GETMONTHCAL

This message retrieves the handle to a date and time picker's (DTP) child month calendar control.

DTM_GETRANGE

This message retrieves the current minimum and maximum allowable system times for a date and time picker (DTP) control.

DTM_GETSYSTEMTIME

This message retrieves the currently selected time from a date and time picker (DTP) control and places it in a specified SYSTEMTIME structure.

DTM_SETFORMAT

This message sets the display of a date and time picker (DTP) control based on a specified format string.

DTM_SETMCCOLOR

This message sets the color for a specified portion of the month calendar within a date and time picker (DTP) control.

DTM_SETMCFONT

This message sets the font to be used by the date and time picker (DTP) control's child month calendar control.

DTM_SETRANGE

This message sets the minimum and maximum allowable system times for a date and time picker (DTP) control.

DTM_SETSYSTEMTIME

This message sets the time in a date and time picker (DTP) control.

See Also

Reference

Date and Time Picker Controls Reference