xtd 0.2.0
Loading...
Searching...
No Matches
date_time_picker_styles.h File Reference
#include <cstddef>

Definition

Contains date time picker style constants.

Go to the source code of this file.

Variables

constexpr size_t DTS_UPDOWN
 Places an up-down control to the right of the DTP control to modify date-time values. This style can be used in place of the drop-down month calendar, which is the default style.
 
constexpr size_t DTS_SHOWNONE
 It is possible to have no date currently selected in the control. With this style, the control displays a check box that is automatically selected whenever a date is picked or entered. If the check box is subsequently deselected, the application cannot retrieve the date from the control because, in essence, the control has no date. The state of the check box can be set with the DTM_SETSYSTEMTIME message or queried with the DTM_GETSYSTEMTIME message.
 
constexpr size_t DTS_SHORTDATEFORMAT
 Displays the date in short format. The default format string for this style is defined by LOCALE_SSHORTDATE, which produces output like "4/19/96".
 
constexpr size_t DTS_LONGDATEFORMAT
 Displays the date in long format. The default format string for this style is defined by LOCALE_SLONGDATEFORMAT, which produces output like "Friday, April 19, 1996". When this style is used, the dropdown button does not display an icon.
 
constexpr size_t DTS_SHORTDATECENTURYFORMAT
 Similar to the DTS_SHORTDATEFORMAT style, except the year is a four-digit field. The default format string for this style is based on LOCALE_SSHORTDATE. The output looks like: "4/19/1996".
 
constexpr size_t DTS_TIMEFORMAT
 Displays the time. The default format string for this style is defined by LOCALE_STIMEFORMAT, which produces output like "5:31:42 PM".
 
constexpr size_t DTS_APPCANPARSE
 Allows the owner to parse user input and take necessary action. It enables users to edit within the client area of the control when they press the F2 key. The control sends DTN_USERSTRING notification codes when users are finished.
 
constexpr size_t DTS_RIGHTALIGN
 The drop-down month calendar will be right-aligned with the control instead of left-aligned, which is the default.