xtd 0.2.0
Loading...
Searching...
No Matches
date_time_picker_styles.hpp
Go to the documentation of this file.
1
4#pragma once
6#if !defined(__XTD_FORMS_NATIVE_LIBRARY__)
7#error "Do not include this file: Internal use only"
8#endif
10
11#include <cstddef>
12
13#if !defined(DTS_UPDOWN)
20constexpr size_t DTS_UPDOWN = 0x0001;
27constexpr size_t DTS_SHOWNONE = 0x0002; // allow a NONE selection
34constexpr size_t DTS_SHORTDATEFORMAT = 0x0000; // use the short date format (app must forward WM_WININICHANGE messages)
41constexpr size_t DTS_LONGDATEFORMAT = 0x0004; // use the long date format (app must forward WM_WININICHANGE messages)
48constexpr size_t DTS_SHORTDATECENTURYFORMAT = 0x000C; // short date format with century (app must forward WM_WININICHANGE messages)
55constexpr size_t DTS_TIMEFORMAT = 0x0009; // use the time format (app must forward WM_WININICHANGE messages)
62constexpr size_t DTS_APPCANPARSE = 0x0010; // allow user entered strings (app MUST respond to DTN_USERSTRING)
69constexpr size_t DTS_RIGHTALIGN = 0x0020; // right-align popup instead of left-align it
70#endif
constexpr size_t DTS_LONGDATEFORMAT
Displays the date in long format. The default format string for this style is defined by LOCALE_SLONG...
Definition date_time_picker_styles.hpp:41
constexpr size_t DTS_SHOWNONE
It is possible to have no date currently selected in the control. With this style,...
Definition date_time_picker_styles.hpp:27
constexpr size_t DTS_TIMEFORMAT
Displays the time. The default format string for this style is defined by LOCALE_STIMEFORMAT,...
Definition date_time_picker_styles.hpp:55
constexpr size_t DTS_SHORTDATECENTURYFORMAT
Similar to the DTS_SHORTDATEFORMAT style, except the year is a four-digit field. The default format s...
Definition date_time_picker_styles.hpp:48
constexpr size_t DTS_RIGHTALIGN
The drop-down month calendar will be right-aligned with the control instead of left-aligned,...
Definition date_time_picker_styles.hpp:69
constexpr size_t DTS_SHORTDATEFORMAT
Displays the date in short format. The default format string for this style is defined by LOCALE_SSHO...
Definition date_time_picker_styles.hpp:34
constexpr size_t DTS_UPDOWN
Places an up-down control to the right of the DTP control to modify date-time values....
Definition date_time_picker_styles.hpp:20
constexpr size_t DTS_APPCANPARSE
Allows the owner to parse user input and take necessary action. It enables users to edit within the c...
Definition date_time_picker_styles.hpp:62