compile insert PS_DateTime_Equates /* ** Copyright (C) 2012-2019 Revelation Software Inc. All Rights Reserved ** This insert is proprietary and is not to be used by or disclosed to others, nor is it to be copied without written permission from Revelation Technologies, Inc. Author : Wile C Coyote - Super Genius Date : Aug 2014 Purpose : Constants for working with PS DATETIME object structures Comments ======== Amended Date Reason ======= ==== ====== Mr C 02 Feb 15 Changed CALALIGN to CALENDARALIGN. Added FORMAT and CALENDARALIGN equates MTR 23 Oct 14 Added */ /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// #ifndef _PS_DATETIME_EQUATES_ #define _PS_DATETIME_EQUATES_ /////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// $insert msWin_DateTimePicker_Equates $insert oiWin_Equates $insert ps_Equates /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // Properties held in window style bits in PSPOS_SDKSTYLE$ <0,0,1> // // DTS_RIGHTALIGN - CALENDARALIGN property // DTS_SHORTDATEFORMAT - FORMAT property // DTS_SHORTLONGFORMAT - FORMAT property // DTS_SHORTDATECENTURYFORMAT - FORMAT property // DTS_TIMEFORMAT - FORMAT property // DTS_SHOWNONE - CHECKBOX property // DTS_UPDOWN - UPDOWN property /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // PS Style equates equ PSS_DTM_INITCHECK$ to 0x00000001 ; * // CHECK property - only enabled if CHECKBOX is TRUE$ /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // SYSREPOSWINEXES structure overrides // equ POS_DTM_CALBACKCOLOR$ to POS_COLOR_1$ equ POS_DTM_CALFORECOLOR$ to POS_COLOR_2$ equ POS_DTM_CALMONTHBACKCOLOR$ to POS_COLOR_3$ equ POS_DTM_CALTITLEBACKCOLOR$ to POS_COLOR_4$ equ POS_DTM_CALTITLEFORECOLOR$ to POS_COLOR_5$ equ POS_DTM_CALTRAILINGFORECOLOR$ to POS_COLOR_6$ equ POS_DTM_CALFONT$ to POS_LOGFONT_1$ equ POS_DTM_CUSTOMFORMAT$ to POS_TYPESPECIFIC$ equ POS_DTM_MINVALUE$ to POS_TEXT_1$ equ POS_DTM_MAXVALUE$ to POS_TEXT_2$ equ POS_DTM_VALUE$ to POS_VALUE$ equ PSPOS_DTM_CALBACKCOLOR$ to PSPOS_COLOR_1$ equ PSPOS_DTM_CALFORECOLOR$ to PSPOS_COLOR_2$ equ PSPOS_DTM_CALMONTHBACKCOLOR$ to PSPOS_COLOR_3$ equ PSPOS_DTM_CALTITLEBACKCOLOR$ to PSPOS_COLOR_4$ equ PSPOS_DTM_CALTITLEFORECOLOR$ to PSPOS_COLOR_5$ equ PSPOS_DTM_CALTRAILINGFORECOLOR$ to PSPOS_COLOR_6$ equ PSPOS_DTM_CALFONT$ to PSPOS_LOGFONT_1$ equ PSPOS_DTM_CUSTOMFORMAT$ to PSPOS_TYPESPECIFIC$ equ PSPOS_DTM_MINVALUE$ to PSPOS_TEXT_1$ equ PSPOS_DTM_MAXVALUE$ to PSPOS_TEXT_2$ equ PSPOS_DTM_VALUE$ to PSPOS_VALUE$ /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // CALENDARALIGN property equ PS_DTM_CALALIGN_LEFT$ to "L" equ PS_DTM_CALALIGN_RIGHT$ to "R" ; * // DTS_RIGHTALIGN style /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // FORMAT property - combination of styles: // // DTS_SHORTDATEFORMAT // DTS_SHORTLONGFORMAT // DTS_SHORTDATECENTURYFORMAT // DTS_TIMEFORMAT equ PS_DTM_FMT_CUSTOM$ to 0 ; * // No styles equ PS_DTM_FMT_LONGDATE$ to 1 ; * // DTS_LONGDATEFORMAT only equ PS_DTM_FMT_SHORTDATE$ to 2 ; * // DTS_SHORTDATECENTURYFORMAT only equ PS_DTM_FMT_TIME$ to 3 ; * // DTS_TIMEFORMAT only /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// #endif /////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////