xtd 0.2.0
Loading...
Searching...
No Matches
date time states

Definition

date time states definitions.

Warning
Internal use only

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.
 

Variable Documentation

◆ DTS_UPDOWN

constexpr size_t DTS_UPDOWN
constexpr

#include <xtd.forms.native/include/xtd/forms/native/date_time_picker_styles.hpp>

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.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ DTS_SHOWNONE

constexpr size_t DTS_SHOWNONE
constexpr

#include <xtd.forms.native/include/xtd/forms/native/date_time_picker_styles.hpp>

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.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ DTS_SHORTDATEFORMAT

constexpr size_t DTS_SHORTDATEFORMAT
constexpr

#include <xtd.forms.native/include/xtd/forms/native/date_time_picker_styles.hpp>

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".

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ DTS_LONGDATEFORMAT

constexpr size_t DTS_LONGDATEFORMAT
constexpr

#include <xtd.forms.native/include/xtd/forms/native/date_time_picker_styles.hpp>

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.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ DTS_SHORTDATECENTURYFORMAT

constexpr size_t DTS_SHORTDATECENTURYFORMAT
constexpr

#include <xtd.forms.native/include/xtd/forms/native/date_time_picker_styles.hpp>

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".

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ DTS_TIMEFORMAT

constexpr size_t DTS_TIMEFORMAT
constexpr

#include <xtd.forms.native/include/xtd/forms/native/date_time_picker_styles.hpp>

Displays the time. The default format string for this style is defined by LOCALE_STIMEFORMAT, which produces output like "5:31:42 PM".

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ DTS_APPCANPARSE

constexpr size_t DTS_APPCANPARSE
constexpr

#include <xtd.forms.native/include/xtd/forms/native/date_time_picker_styles.hpp>

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.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ DTS_RIGHTALIGN

constexpr size_t DTS_RIGHTALIGN
constexpr

#include <xtd.forms.native/include/xtd/forms/native/date_time_picker_styles.hpp>

The drop-down month calendar will be right-aligned with the control instead of left-aligned, which is the default.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only