compile insert rti_Popup_DateTime_Equates
/*
   ** Copyright (C) 2012-2022 Revelation Software Inc. All Rights Reserved **

   Author   : Mr C
   Date     : 12 Jan 22
   Purpose  : Equates for use with the RTI_POPUP_DATETIME dialog
   
   Comments
   ========

   Amended  Date        Reason
   =======  ====        ======
*/
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#ifndef _RTI_POPUP_DATETIME_EQUATES_
#define _RTI_POPUP_DATETIME_EQUATES_
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   // CreateParam constants
   //
   // <1> Mode (DTS,DT,MTS,MT or D)
   // <2> InitDate
   // <3> InitTime
   // <4> ownerCtrl
   // <5> ownerAlign (L or R)
   // <6> ownerScreenSize (see notes below)
   // <7> firstYear
   // <8> lastYear
   //
   //
   // Notes
   // -----
   // ownerScreenSize : If the owner is an AMV control and it's an EditTable
   //                 : then we know how to get the screen size of the current
   //                 : cell. If it's an OLE control then the caller will have
   //                 : to pass it as we don't know how to access it.
   
   equ PDT_CP_POS_MODE$               to 1 ; // DTS,DT,MTS,MT or D
   equ PDT_CP_POS_INITDATE$           to 2 ; // days
   equ PDT_CP_POS_INITTIME$           to 3 ; // seconds
   equ PDT_CP_POS_OWNERID$            to 4 ; // owner control
   equ PDT_CP_POS_OWNERALIGN$         to 5 ; // h-alignment against owner, L or R
   equ PDT_CP_POS_OWNERSCREENSIZE$    to 6 ; // @vm'd screensize (DIPs) of owner
   equ PDT_CP_POS_FIRSTYEAR$          to 7 ; // First year in CBO_YEAR
   equ PDT_CP_POS_LASTYEAR$           to 8 ; // Last year in CBO_YEAR
   
   // Mode
   equ PDT_MODE_DTS$                  to "DTS"
   equ PDT_MODE_DT$                   to "DT"
   equ PDT_MODE_MTS$                  to "MTS"
   equ PDT_MODE_MT$                   to "MT"
   equ PDT_MODE_D$                    to "D"
   equ PDT_MODE_DEFAULT$              to PDT_MODE_D$
   
   // Alignment
   equ PDT_ALIGN_L$                   to "L"
   equ PDT_ALIGN_R$                   to "R"
   equ PDT_ALIGN_DEFAULT$             to PDT_ALIGN_L$
   
///////////////////////////////////////////////////////////////////////////////

   // UDPs
   equ PDT_UDP_CREATEPARAM$           to "@_PDT_CREATEPARAM"   ; // @window
   equ PDT_UDP_PREVYEAR$              to "@_PDT_PREVYEAR"      ; // @window
   equ PDT_UDP_PREVMONTH$             to "@_PDT_PREVMONTH"     ; // @window   
   equ PDT_UDP_CURRDAY$               to "@_PDT_CURRDAY"       ; // @window
   equ PDT_UDP_CARETPOS$              to "@_PDT_CARETPOS"      ; // @window
   equ PDT_UDP_COLORPOS$              to "@_PDT_COLORPOS"      ; // EDT_DAY
   equ PDT_UDP_SELFORECOLOR$          to "@_PDT_SELFORECOLOR"  ; // EDT_DAY
   equ PDT_UDP_SELBACKCOLORCOLOR$     to "@_PDT_SELBACKCOLOR"  ; // EDT_DAY
   equ PDT_UDP_EXECWRITE$             to "@_PDT_EXECWRITE$"    ; // @window
   
///////////////////////////////////////////////////////////////////////////////

   // Layout
   equ PDT_BORDERMARGIN$              to 4 ; // DIPs
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#endif
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////


