compile insert rti_EditTable_Equates
/*
   ** Copyright (C) 2012 Revelation Software Inc. All Rights Reserved **
   
   Author    Mr C
   Date      October 2012
   Purpose   Equates for the Edit Table control
   
   Amended      Date         Reason
   =======      ====         ======
   
*/
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#ifndef _RTI_EDITTABLE_EQUATES_
#define _RTI_EDITTABLE_EQUATES_
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   $insert msWin_WindowMessage_Equates
   
///////////////////////////////////////////////////////////////////////////////
// Edit Table Styles //////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   equ DTS_EDIT$             to 0x0004
   equ DTS_RESIZE$           to 0x0008
   equ DTS_NONE$             to 0x0000
   equ DTS_NUMBERS$          to 0x0010
   equ DTS_LETTERS$          to 0x0020
   equ DTS_OWNERDEF$         to 0x0030
   equ DTS_HGRID$            to 0x0040
   equ DTS_VGRID$            to 0x0080
   equ DTS_ROWSELECT$        to 0x0100
   equ DTS_MULTIROW$         to 0x0200
   equ DTS_COLSELECT$        to 0x0400
   equ DTS_MULTICOL$         to 0x0800
   equ DTS_SMALLDATA$        to 0x0000
   equ DTS_LARGEDATA$        to 0x1000
   equ DTS_ROWBUTTONS$       to 0x2000
   equ DTS_ROWNUMBERS$       to 0x4000
   equ DTS_DROPDOWN$         to 0x8000
   equ DTS_AUTODROPDN$       to 0x8002
   equ DTS_VIRTUALMEM$       to 0x0001
   
///////////////////////////////////////////////////////////////////////////////
// Edit Table Column Styles ///////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
   
   equ DTCS_LEFT$               to 0x00000000
   equ DTCS_HEADLEFT$           to 0x00000000
   equ DTCS_RESIZE$             to 0x00000001
   equ DTCS_FIXED$              to 0x00000002
   equ DTCS_EDIT$               to 0x00000004
   equ DTCS_PROTECT$            to 0x00000008
   equ DTCS_UPPERCASE$          to 0x00000010
   equ DTCS_HIDDEN$             to 0x00000020
   equ DTCS_CENTER$             to 0x00000040
   equ DTCS_RIGHT$              to 0x00000080
   equ DTCS_HEADCENTER$         to 0x00000100
   equ DTCS_HEADRIGHT$          to 0x00000200
   equ DTCS_VSCROLL$            to 0x00000400 ; * // only for DTCS_MULTILINE$ 
   equ DTCS_HSCROLL$            to 0x00000800 ; * // only for DTCS_MULTILINE$ 
   equ DTCS_SKIPPED$            to 0x00001000
   equ DTCS_LOCKED$             to 0x00002000
   equ DTCS_SORTASC$            to 0x00004000
   equ DTCS_SORTDES$            to 0x00008000
   equ DTCS_CHECKBOX$           to 0x00010000
   equ DTCS_DROPDOWN$           to 0x00020000
   equ DTCS_MULTILINEHEAD$      to 0x00040000
   equ DTCS_CHECKBOXRIGHT$      to 0x00080000 ; * // needs DTCS_CHECKBOX$
   equ DTCS_VALIGNCENTER$       to 0x00100000
   equ DTCS_VALIGNBOTTOM$       to 0x00200000
   equ DTCS_DROPDOWNEDIT$       to 0x00400000
   equ DTCS_OPTIONSBUTTON$      to 0x00800000
   equ DTCS_ENABLEDROPDOWNDRAG$ to 0x01000000
   equ DTCS_MULTILINE$          to 0x02000000
   equ DTCS_AUTOVSCROLL$        to 0x04000000 ; * // only for DTCS_MULTILINE$ 
   equ DTCS_AUTOHSCROLL$        to 0x08000000 ; * // only for DTCS_MULTILINE$ 
   equ DTCS_ENABLEDRAG$         to 0x10000000
   equ DTCS_ENABLEDROP$         to 0x20000000
   equ DTCS_CHECKBOXCENTER$     to 0x40000000 ; * // needs DTCS_CHECKBOX$ - no text!
   equ DTCS_RESERVED$           to 0x80000000
   
///////////////////////////////////////////////////////////////////////////////
// Edit Table Messages ////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   * // WM_USER is redefined here so we don't have  to worry about inserting it
   * // from another record. 
   
   equ DT_WM_USER$               to 1024  ; * // Defined here for ease of use!

   equ DTM_RESETALL$             to ( DT_WM_USER$ + 0 )
   equ DTM_RESETDATA$            to ( DT_WM_USER$ + 1 )
   equ DTM_GETWNDSTYLE$          to ( DT_WM_USER$ + 2 )
   equ DTM_SETWNDSTYLE$          to ( DT_WM_USER$ + 3 )
   equ DTM_GETCONFIGSIZE$        to ( DT_WM_USER$ + 4 )
   equ DTM_GETCONFIG$            to ( DT_WM_USER$ + 5 )
   equ DTM_SETCONFIG$            to ( DT_WM_USER$ + 6 )
   equ DTM_GETCOLCOUNT$          to ( DT_WM_USER$ + 7 )
   equ DTM_SETCOLCOUNT$          to ( DT_WM_USER$ + 8 )
   equ DTM_GETCOLSTYLE$          to ( DT_WM_USER$ + 9 )
   equ DTM_SETCOLSTYLE$          to ( DT_WM_USER$ + 10 )
   equ DTM_GETCOLTYPE$           to ( DT_WM_USER$ + 11 )
   equ DTM_SETCOLTYPE$           to ( DT_WM_USER$ + 12 )
   equ DTM_GETCOLDATALEN$        to ( DT_WM_USER$ + 13 )
   equ DTM_SETCOLDATALEN$        to ( DT_WM_USER$ + 14 )
   equ DTM_GETCOLWIDTH$          to ( DT_WM_USER$ + 15 )
   equ DTM_SETCOLWIDTH$          to ( DT_WM_USER$ + 16 )
   equ DTM_GETCOLFORMAT$         to ( DT_WM_USER$ + 17 )
   equ DTM_SETCOLFORMAT$         to ( DT_WM_USER$ + 18 )
   equ DTM_GETCOLHEAD$           to ( DT_WM_USER$ + 19 )
   equ DTM_SETCOLHEAD$           to ( DT_WM_USER$ + 20 )
   equ DTM_GETCOLNAME$           to ( DT_WM_USER$ + 21 )
   equ DTM_SETCOLNAME$           to ( DT_WM_USER$ + 22 )
   equ DTM_GETCOLEXTRA1$         to ( DT_WM_USER$ + 23 )
   equ DTM_SETCOLEXTRA1$         to ( DT_WM_USER$ + 24 )
   equ DTM_GETCOLEXTRA2$         to ( DT_WM_USER$ + 25 )
   equ DTM_SETCOLEXTRA2$         to ( DT_WM_USER$ + 26 )
   equ DTM_GETCOLNUMBER$         to ( DT_WM_USER$ + 27 )
   equ DTM_SHOWDROPDOWN$         to ( DT_WM_USER$ + 28 )
   equ DTM_ISDROPDOWN$           to ( DT_WM_USER$ + 29 )
   equ DTM_GETROWCOUNT$          to ( DT_WM_USER$ + 30 )
   equ DTM_GETTOPINDEX$          to ( DT_WM_USER$ + 32 )
   equ DTM_SETTOPINDEX$          to ( DT_WM_USER$ + 33 )
   equ DTM_GETLEFTINDEX$         to ( DT_WM_USER$ + 34 )
   equ DTM_SETLEFTINDEX$         to ( DT_WM_USER$ + 35 )
   equ DTM_GETCURROW$            to ( DT_WM_USER$ + 36 )
   equ DTM_GETCURCOL$            to ( DT_WM_USER$ + 37 )
   equ DTM_SETCURCELL$           to ( DT_WM_USER$ + 38 )
   equ DTM_GETACCESSROW$         to ( DT_WM_USER$ + 39 )
   equ DTM_GETACCESSCOL$         to ( DT_WM_USER$ + 40 )
   equ DTM_SETACCESSPOS$         to ( DT_WM_USER$ + 41 )
   equ DTM_READROW$              to ( DT_WM_USER$ + 42 )
   equ DTM_UPDATEROW$            to ( DT_WM_USER$ + 43 )
   equ DTM_INSERTROW$            to ( DT_WM_USER$ + 44 )
   equ DTM_DELETEROW$            to ( DT_WM_USER$ + 45 )
   equ DTM_MOVEROWTO$            to ( DT_WM_USER$ + 46 )
   equ DTM_REPLICATEROWTO$       to ( DT_WM_USER$ + 47 )
   equ DTM_READCOL$              to ( DT_WM_USER$ + 48 )
   equ DTM_UPDATECOL$            to ( DT_WM_USER$ + 49 )
   equ DTM_INSERTCOL$            to ( DT_WM_USER$ + 90 )
   equ DTM_DELETECOL$            to ( DT_WM_USER$ + 50 )
   equ DTM_MOVECOLTO$            to ( DT_WM_USER$ + 51 )
   equ DTM_REPLICATECOLTO$       to ( DT_WM_USER$ + 52 )
   equ DTM_READCELL$             to ( DT_WM_USER$ + 53 )
   equ DTM_UPDATECELL$           to ( DT_WM_USER$ + 54 )
   equ DTM_READCELLRECT$         to ( DT_WM_USER$ + 55 )
   equ DTM_GETSELMODE$           to ( DT_WM_USER$ + 56 )
   equ DTM_GETROWSTATUS$         to ( DT_WM_USER$ + 58 )
   equ DTM_GETCURROWSEL$         to ( DT_WM_USER$ + 91 )
   equ DTM_SELROW$               to ( DT_WM_USER$ + 59 )
   equ DTM_SELROWRANGE$          to ( DT_WM_USER$ + 60 )
   equ DTM_SELALLROWS$           to ( DT_WM_USER$ + 61 )
   equ DTM_GETROWSELCOUNT$       to ( DT_WM_USER$ + 62 )
   equ DTM_GETROWSELLIST$        to ( DT_WM_USER$ + 63 )
   equ DTM_GETROWSELFIRST$       to ( DT_WM_USER$ + 64 )
   equ DTM_GETROWSELNEXT$        to ( DT_WM_USER$ + 65 )
   equ DTM_GETCOLSTATUS$         to ( DT_WM_USER$ + 66 )
   equ DTM_GETCURCOLSEL$         to ( DT_WM_USER$ + 92 )
   equ DTM_SELCOL$               to ( DT_WM_USER$ + 67 )
   equ DTM_SELCOLRANGE$          to ( DT_WM_USER$ + 68 )
   equ DTM_SELALLCOLS$           to ( DT_WM_USER$ + 69 )
   equ DTM_GETCOLSELCOUNT$       to ( DT_WM_USER$ + 70 )
   equ DTM_GETCOLSELLIST$        to ( DT_WM_USER$ + 71 )
   equ DTM_GETCOLSELFIRST$       to ( DT_WM_USER$ + 72 )
   equ DTM_GETCOLSELNEXT$        to ( DT_WM_USER$ + 73 )
   equ DTM_GETCHARSEL$           to ( DT_WM_USER$ + 74 )
   equ DTM_SETCHARSEL$           to ( DT_WM_USER$ + 75 )
   equ DTM_GETVISROWS$           to ( DT_WM_USER$ + 81 )
   equ DTM_GETVISCOLS$           to ( DT_WM_USER$ + 82 )
   equ DTM_GETNOTIFYROW$         to ( DT_WM_USER$ + 83 )
   equ DTM_GETNOTIFYCOL$         to ( DT_WM_USER$ + 84 )
   equ DTM_GETCLICKPOS$          to ( DT_WM_USER$ + 85 )
   equ DTM_GETCOLCFGSIZE$        to ( DT_WM_USER$ + 87 )
   equ DTM_GETCOLCFG$            to ( DT_WM_USER$ + 88 )
   equ DTM_SETCOLCFG$            to ( DT_WM_USER$ + 89 )
   equ DTM_GETEDITKEY$           to ( DT_WM_USER$ + 93 )
   equ DTM_SETEDITKEY$           to ( DT_WM_USER$ + 94 )
   equ DTM_EDITCURRCELL$         to ( DT_WM_USER$ + 95 )
   equ DTM_GETDTMETRICS$         to ( DT_WM_USER$ + 96 )
   equ DTM_SETDTCOLOR$           to ( DT_WM_USER$ + 97 )
   equ DTM_SETROWCOLOR$          to ( DT_WM_USER$ + 98 )
   equ DTM_SETCOLCOLOR$          to ( DT_WM_USER$ + 99 )
   equ DTM_SETCELLCOLOR$         to ( DT_WM_USER$ + 100 )
   equ DTM_RESETDTCOLOR$         to ( DT_WM_USER$ + 101 )
   equ DTM_RESETALLCOLOR$        to ( DT_WM_USER$ + 102 )
   equ DTM_RESETROWCOLOR$        to ( DT_WM_USER$ + 103 )
   equ DTM_RESETCOLCOLOR$        to ( DT_WM_USER$ + 104 )
   equ DTM_RESETCELLCOLOR$       to ( DT_WM_USER$ + 105 )
   equ DTM_VM_INITIALIZE$        to ( DT_WM_USER$ + 106 )
   equ DTM_VM_GETROWDATA$        to ( DT_WM_USER$ + 107 )
   equ DTM_VM_GETFIRST$          to ( DT_WM_USER$ + 108 )
   equ DTM_VM_GETLAST$           to ( DT_WM_USER$ + 109 )
   equ DTM_VM_GETPREV$           to ( DT_WM_USER$ + 110 )
   equ DTM_VM_GETNEXT$           to ( DT_WM_USER$ + 111 )
   equ DTM_VM_GETPERCENT$        to ( DT_WM_USER$ + 112 )
   equ DTM_SETSORTCOL$           to ( DT_WM_USER$ + 113 )
   equ DTM_SETROWFONT$           to ( DT_WM_USER$ + 114 )
   equ DTM_SETCOLFONT$           to ( DT_WM_USER$ + 115 )
   equ DTM_SETCELLFONT$          to ( DT_WM_USER$ + 116 )
   equ DTM_RESETALLFONT$         to ( DT_WM_USER$ + 117 )
   equ DTM_RESETROWFONT$         to ( DT_WM_USER$ + 118 )
   equ DTM_RESETCOLFONT$         to ( DT_WM_USER$ + 119 )
   equ DTM_RESETCELLFONT$        to ( DT_WM_USER$ + 120 )
   equ DTM_SETDTFONT$            to ( DT_WM_USER$ + 121 )
   equ DTM_RESETDTFONT$          to ( DT_WM_USER$ + 122 )
   equ DTM_GETSORTCOL$           to ( DT_WM_USER$ + 123 )
   equ DTM_GETSORTDIR$           to ( DT_WM_USER$ + 124 )
   equ DTM_SETCFENDEDIT$         to ( DT_WM_USER$ + 125 )
   equ DTM_GETCFENDEDIT$         to ( DT_WM_USER$ + 126 )
   equ DTM_GETFIXEDHT$           to ( DT_WM_USER$ + 127 )
   equ DTM_SETFIXEDHT$           to ( DT_WM_USER$ + 128 )
   equ DTM_GETVERTALIGN$         to ( DT_WM_USER$ + 129 )
   equ DTM_SETVERTALIGN$         to ( DT_WM_USER$ + 130 )
   equ DTM_GETKEY$               to ( DT_WM_USER$ + 131 )
   equ DTM_SETKEY$               to ( DT_WM_USER$ + 132 )
   equ DTM_GETCOLPIXELS$         to ( DT_WM_USER$ + 133 )
   equ DTM_SETCOLPIXELS$         to ( DT_WM_USER$ + 134 )
   equ DTM_GETCLIENTWIDTH$       to ( DT_WM_USER$ + 135 )
   equ DTM_GETCELLLEFTBOTTOM$    to ( DT_WM_USER$ + 136 )
   equ DTM_GETCELLBITMAP$        to ( DT_WM_USER$ + 137 )
   equ DTM_SETCELLBITMAP$        to ( DT_WM_USER$ + 138 )
   equ DTM_SETDTROWHEIGHT$       to ( DT_WM_USER$ + 139 )
   equ DTM_RESETDTROWHEIGHT$     to ( DT_WM_USER$ + 140 )
   equ DTM_SETROWHEIGHT$         to ( DT_WM_USER$ + 141 )
   equ DTM_RESETROWHEIGHT$       to ( DT_WM_USER$ + 142 )
   equ DTM_GETRESIZECOL$         to ( DT_WM_USER$ + 143 )
   equ DTM_SETRESIZECOL$         to ( DT_WM_USER$ + 144 )
   equ DTM_AUTORESIZE$           to ( DT_WM_USER$ + 145 )
   equ DTM_SETLISTDATA$          to ( DT_WM_USER$ + 146 )
   equ DTM_RESYNCSCROLLBARS$     to ( DT_WM_USER$ + 147 )
   equ DTM_GETDTROWHEIGHT$       to ( DT_WM_USER$ + 148 )
   equ DTM_GETROWHEIGHT$         to ( DT_WM_USER$ + 149 )
   equ DTM_GETDTHDRHEIGHT$       to ( DT_WM_USER$ + 150 )
   equ DTM_SETDTHDRHEIGHT$       to ( DT_WM_USER$ + 151 )
   equ DTM_GETROWSHADE$          to ( DT_WM_USER$ + 152 ) 
   equ DTM_SETROWSHADE$          to ( DT_WM_USER$ + 153 )
   equ DTM_GETODDROWSHADECOLOR$  to ( DT_WM_USER$ + 154 )
   equ DTM_SETODDROWSHADECOLOR$  to ( DT_WM_USER$ + 155 )
   equ DTM_GETEVENROWSHADECOLOR$ to ( DT_WM_USER$ + 156 )
   equ DTM_SETEVENROWSHADECOLOR$ to ( DT_WM_USER$ + 157 )
   equ DTM_GETCURSORPOSCELL$     to ( DT_WM_USER$ + 158 )
   equ DTM_SETCOLHDRCOLOR$       to ( DT_WM_USER$ + 159 )
   equ DTM_RESETCOLHDRCOLOR$     to ( DT_WM_USER$ + 160 )
   equ DTM_SETCOLHDRFONT$        to ( DT_WM_USER$ + 161 )
   equ DTM_RESETCOLHDRFONT$      to ( DT_WM_USER$ + 162 )
   equ DTM_SETROWBTNCOLOR$       to ( DT_WM_USER$ + 163 )
   equ DTM_RESETROWBTNCOLOR$     to ( DT_WM_USER$ + 164 )
   equ DTM_SETROWBTNFONT$        to ( DT_WM_USER$ + 165 )
   equ DTM_RESETROWBTNFONT$      to ( DT_WM_USER$ + 166 )
   equ DTM_GETLASTVISCOL$        to ( DT_WM_USER$ + 167 )
   equ DTM_GETLASTVISROW$        to ( DT_WM_USER$ + 168 )
   equ DTM_GETFIRSTSCROLLCOL$    to ( DT_WM_USER$ + 169 )
   equ DTM_GETLASTSCROLLCOL$     to ( DT_WM_USER$ + 170 )
   equ DTM_GETEDITHWND$	         to ( DT_WM_USER$ + 171 )
   equ DTM_GETVSCROLLHWND$       to ( DT_WM_USER$ + 172 )
   equ DTM_GETHSCROLLHWND$       to ( DT_WM_USER$ + 173 )
   equ DTM_GETCOMBOBOXHWND$      to ( DT_WM_USER$ + 174 )
   equ DTM_GETCOLFORMATLEN$      to ( DT_WM_USER$ + 175 )
   equ DTM_GETDRAGIMAGE$         to ( DT_WM_USER$ + 176 )
   equ DTM_GETCLIENTRECT$        to ( DT_WM_USER$ + 177 )
   equ DTM_GETCOLDROPFORMAT$     to ( DT_WM_USER$ + 178 )
   equ DTM_GETCOLDROPFORMATLEN$  to ( DT_WM_USER$ + 179 )
   equ DTM_SETCOLDROPFORMAT$     to ( DT_WM_USER$ + 180 )
   equ DTM_GETROWSTYLE$          to ( DT_WM_USER$ + 181 )
   equ DTM_SETROWSTYLE$          to ( DT_WM_USER$ + 182 )
   equ DTM_GETCELLSTYLE$         to ( DT_WM_USER$ + 183 )
   equ DTM_SETCELLSTYLE$         to ( DT_WM_USER$ + 184 )
   equ DTM_CALCCELLSTYLE$        to ( DT_WM_USER$ + 185 )
   equ DTM_GETROWDROPLIST$       to ( DT_WM_USER$ + 186 )
   equ DTM_GETROWDROPLISTLEN$    to ( DT_WM_USER$ + 187 )
   equ DTM_SETROWDROPLIST$       to ( DT_WM_USER$ + 188 )
   equ DTM_GETCELLDROPLIST$      to ( DT_WM_USER$ + 189 )
   equ DTM_GETCELLDROPLISTLEN$   to ( DT_WM_USER$ + 190 )
   equ DTM_SETCELLDROPLIST$      to ( DT_WM_USER$ + 191 )
   equ DTM_GETFOCUSCELLFONT$     to ( DT_WM_USER$ + 192 )
   equ DTM_SETFOCUSCELLFONT$     to ( DT_WM_USER$ + 193 )
   equ DTM_GETFOCUSCELLCOLOR$    to ( DT_WM_USER$ + 194 )
   equ DTM_SETFOCUSCELLCOLOR$    to ( DT_WM_USER$ + 195 )
   equ DTM_GETFOCUSRECTSTYLE$    to ( DT_WM_USER$ + 196 )
   equ DTM_SETFOCUSRECTSTYLE$    to ( DT_WM_USER$ + 197 )
   equ DTM_GETFOCUSRECTWEIGHT$   to ( DT_WM_USER$ + 198 )
   equ DTM_SETFOCUSRECTWEIGHT$   to ( DT_WM_USER$ + 199 )
   equ DTM_GETFOCUSRECTCOLOR$    to ( DT_WM_USER$ + 200 )
   equ DTM_SETFOCUSRECTCOLOR$    to ( DT_WM_USER$ + 201 )
   equ DTM_RESETFOCUSCELLFONT$   to ( DT_WM_USER$ + 202 )
   equ DTM_RESETFOCUSCELLCOLOR$  to ( DT_WM_USER$ + 203 )
   equ DTM_GETROWLABEL$          to ( DT_WM_USER$ + 204 )
   equ DTM_SETROWLABEL$          to ( DT_WM_USER$ + 205 )
   equ DTM_GETDTROWLABEL$        to ( DT_WM_USER$ + 206 )
   equ DTM_SETDTROWLABEL$        to ( DT_WM_USER$ + 207 )
   equ DTM_GETDTCURSOR$          to ( DT_WM_USER$ + 208 )
   equ DTM_SETDTCURSOR$          to ( DT_WM_USER$ + 209 )
   equ DTM_SETSELROWCOLOR$       to ( DT_WM_USER$ + 210 )
   equ DTM_RESETSELROWCOLOR$     to ( DT_WM_USER$ + 211 )
   
   equ DTM_FIRSTMSG$             to ( DT_WM_USER$ + 0 )
   equ DTM_LASTMSG$              to ( DT_WM_USER$ + 211 )
      
///////////////////////////////////////////////////////////////////////////////
// Edit Table Metrics//////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
   
   equ DT_ROWHEIGHT$          to 1
   equ DT_ROWWIDTH$           to 2
   equ DT_HEADINGHT$          to 3
   equ DT_LABELWIDTH$         to 4
   
///////////////////////////////////////////////////////////////////////////////
// Edit Table Class Names /////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   equ DT_EDITTBLCLASSNAME$   to "EditTbl"
   equ DT_DATATBLCLASSNAME$   to "DataTbl"
   equ DT_EDITCTRLCLASSNAME$  to "dtedit"
   
///////////////////////////////////////////////////////////////////////////////
// EditCurrCell parameter values //////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   equ DT_BEGINEDIT$          to 1
   equ DT_ENDEDIT$            to 2
   equ DT_ABORTEDIT$          to 3

///////////////////////////////////////////////////////////////////////////////
// Edit Table Row/Column Access Modes /////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   equ DTA_ACCESS$            to 0x0000
   equ DTA_CURRENT$           to 0x0001
   equ DTA_SELFIRST$          to 0x0002
   equ DTA_SELNEXT$           to 0x0003
   equ DTA_AUTOINC$           to 0x0004
   equ DTA_AUTODEC$           to 0x0008
   equ DTA_COLMAJOR$          to 0x0010
   
///////////////////////////////////////////////////////////////////////////////
// SetAccessPos special locations /////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   equ DTPOS_LAST$            to -1  ; * // last row or column
   equ DTPOS_AFTERLAST$       to -2  ; * // after the last (insert & move only)
   equ DTPOS_INVALID$         to -3  ; * // invalid pos (ie read past last row)
   
///////////////////////////////////////////////////////////////////////////////
// Edit Table Notification Codes //////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
   
   equ DTN_CREATE$            to 1
   equ DTN_DESTROY$           to 2
   equ DTN_ERRSPACE$          to 3
   equ DTN_SETFOCUS$          to 4
   equ DTN_KILLFOCUS$         to 5
   equ DTN_HSCROLL$           to 6
   equ DTN_VSCROLL$           to 7
   equ DTN_CELLFULL$          to 8
   equ DTN_SELCHANGE$         to 9
   equ DTN_MODECHANGE$        to 10
   equ DTN_DBLCLK$            to 11
   equ DTN_CHANGE$            to 12
   equ DTN_UPDATE$            to 13
   equ DTN_DROPDOWN$          to 14
   equ DTN_POSCHANGE$         to 15
   equ DTN_BEGINEDIT$         to 16
   equ DTN_ABORTEDIT$         to 17
   equ DTN_CLICKED$           to 18
   equ DTN_COLSIZE$           to 20
   equ DTN_COLADDED$          to 21
   equ DTN_COLDELETED$        to 22
   equ DTN_COLMOVED$          to 23
   equ DTN_COLNAMECHANGED$    to 24
   equ DTN_GOTKEY$            to 25
   equ DTN_VSCROLLVISCHANGED$ to 30
   equ DTN_HSCROLLVISCHANGED$ to 31
   equ DTN_BEGINDROPDOWN$     to 32
   equ DTN_ENDDROPDOWN$       to 33
   equ DTN_CBNDROPDOWN$       to 34
   equ DTN_CBNCLOSEUP$        to 35
   equ DTN_OPTIONS$           to 36

   equ DTN_NOTAVAILABLE$      to 99
   
///////////////////////////////////////////////////////////////////////////////
// Edit Table CLICKPOS Notification Codes /////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   equ TABLEPOS_NOWHERE$      to 0
   equ TABLEPOS_ONHEADING$    to 1
   equ TABLEPOS_ONGRIDLINE$   to 2
   equ TABLEPOS_ONCELL$       to 3
   equ TABLEPOS_ONLABEL$      to 4
   
///////////////////////////////////////////////////////////////////////////////
// Edit Table Error Codes /////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   equ DTE_OKAY$              to 0   ; * // (DWORD)0   /* NO ERROR */
   equ DTE_NOTALLOWED$        to -1  ; * // (DWORD)-1  /* operation not allowed */
   equ DTE_MESSAGENUM$        to -2  ; * // (DWORD)-2  /* invalid message */
   equ DTE_CELLADDR$          to -3  ; * // (DWORD)-3  /* invalid cell address */
   equ DTE_COLNUM$            to -4  ; * // (DWORD)-4  /* invalid column number */
   equ DTE_ROWNUM$            to -5  ; * // (DWORD)-5  /* invalid row number */
   equ DTE_NUMCOLS$           to -6  ; * // (DWORD)-6  /* invalid number of columns */
   equ DTE_NUMROWS$           to -7  ; * // (DWORD)-7  /* invalid number of rows */
   equ DTE_COLWIDTH$          to -8  ; * // (DWORD)-8  /* invalid column width */
   equ DTE_COLTYPE$           to -9  ; * // (DWORD)-9  /* invalid column data type */
   equ DTE_FIXEDLENGTH$       to -10 ; * // (DWORD)-10 /* column data type has fixed length */
   equ DTE_TRUNCATED$         to -11 ; * // (DWORD)-11 /* data buffer was truncated */
   equ DTE_NULLPOINTER$       to -12 ; * // (DWORD)-12 /* null pointer passed to function*/
   equ DTE_NULLVALUE$         to -13 ; * // (DWORD)-13 /* null parameter passed to function */
   equ DTE_NOMEMORY$          to -21 ; * // (DWORD)-21 /* insufficient memory */
   equ DTE_NOMEMLOCK$         to -22 ; * // (DWORD)-22 /* cant lock memory */
   equ DTE_STRINGTABLE$       to -23 ; * // (DWORD)-23 /* fatal string table size error */
   equ DTE_OVERFLOW$          to -24 ; * // (DWORD)-24 /* exceeded max allowable length */
   equ DTE_NORESLOAD$         to -25 ; * // (DWORD)-25 /* cant load resource */
   equ DTE_NORESLOCK$         to -26 ; * // (DWORD)-26 /* cant lock resource */
   equ DTE_ROWNOTINVIEW$      to -27 ; * // (DWORD)-27 /* row not in view (VM Managed Only) */
   equ DTE_ROWOUTOFRANGE$     to -28 ; * // (DWORD)-28 /* row out of range (VM Managed Only) */   
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////  

   equ DT_DEFAULTCOLOR$       to 6777217

///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   equ ETM_GOTONEXTCELL$        to (DT_WM_USER$ + 2000)
   equ ETM_EDITTBL_OUT$         to (DT_WM_USER$ + 2001)
   equ ETM_PREVCELLPOS$         to (DT_WM_USER$ + 2002)
   equ ETM_SETROWLIMIT$         to (DT_WM_USER$ + 2003)
   equ ETM_INSERTROW$           to (DT_WM_USER$ + 2004)
   equ ETM_DELETEROW$           to (DT_WM_USER$ + 2005)
   equ ETM_GETDTHWND$           to (DT_WM_USER$ + 2006)
   equ ETM_GETROWLIMIT$         to (DT_WM_USER$ + 2007)
   equ ETM_GETPREVCELLPOS$      to ETM_PREVCELLPOS$      
   equ ETM_SETPREVCELLPOS$      to (DT_WM_USER$ + 2008)

   equ ETM_MOUSEMSGOFFSET$      to (DT_WM_USER$ + 2100)
   
   equ ETM_LBUTTONDOWN$         to (ETM_MOUSEMSGOFFSET$ + WM_LBUTTONDOWN$ )
   equ ETM_LBUTTONUP$           to (ETM_MOUSEMSGOFFSET$ + WM_LBUTTONUP$ )
   equ ETM_LBUTTONDBLCLK$       to (ETM_MOUSEMSGOFFSET$ + WM_LBUTTONDBLCLK$ )
   equ ETM_MBUTTONDOWN$         to (ETM_MOUSEMSGOFFSET$ + WM_MBUTTONDOWN$ )
   equ ETM_MBUTTONUP$           to (ETM_MOUSEMSGOFFSET$ + WM_MBUTTONUP$ )
   equ ETM_MBUTTONDBLCLK$       to (ETM_MOUSEMSGOFFSET$ + WM_MBUTTONDBLCLK$ )
   equ ETM_RBUTTONDOWN$         to (ETM_MOUSEMSGOFFSET$ + WM_RBUTTONDOWN$ )
   equ ETM_RBUTTONUP$           to (ETM_MOUSEMSGOFFSET$ + WM_RBUTTONUP$ )
   equ ETM_RBUTTONDBLCLK$       to (ETM_MOUSEMSGOFFSET$ + WM_RBUTTONDBLCLK$ )
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#endif
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////


