compile insert PS_OleControl_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     : April 2015
   Purpose  : Constants for working with PS OLECONTROL object structures
   
   
   Comments
   ========
   
   
   Amended  Date        Reason
   =======  ====        ======
   Mr C     20 Sep 19   Added DESIGNPROPERTYLIST constants
   Mr C     13 Sep 19   Added INITPROPNAMES and INITPROPVALUES fields
*/
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#ifndef _PS_OLECONTROL_EQUATES_
#define _PS_OLECONTROL_EQUATES_
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   $insert ps_Equates
   $insert oiwin_Equates
   
///////////////////////////////////////////////////////////////////////////////   
///////////////////////////////////////////////////////////////////////////////

   // PS Style equates
   
   equ PSS_OLECONTROL_NOACCELTRANS$         to 0x00000800 ; // NOACCELTRANSLATION property
   equ PSS_OLECONTROL_NOFOCUS$              to 0x00000400 ; // ALLOWFOCUS property (inverse)
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   // SYSREPOSWINS structure overrides
   equ POS_OLE_QUALIFIED_EVENTS$             to POS_TYPESPECIFIC$
   equ POS_OLE_LICENSEKEY$                   to POS_LIST$
   equ POS_OLE_INITSTREAM$                   to POS_VALUE$
   equ POS_OLE_INITPROPNAMES$                to POS_TEXT_1$
   equ POS_OLE_INITPROPVALUES$               to POS_TEXT_2$

   // SYSREPOSWINEXES structure overrides
   equ PSPOS_OLE_QUALIFIED_EVENTS$           to PSPOS_TYPESPECIFIC$
   equ PSPOS_OLE_LICENSEKEY$                 to PSPOS_LIST$
   equ PSPOS_OLE_INITSTREAM$                 to PSPOS_VALUE$
   equ PSPOS_OLE_INITPROPNAMES$              to PSPOS_TEXT_1$
   equ PSPOS_OLE_INITPROPVALUES$             to PSPOS_TEXT_2$
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   // Stored Qualified event structure
   //
   // @svm-delimited list of event qualifiers with the format:
   // 
   //    <0,0,0,1> EventName
   //    <0,0,0,2> Qualifier (optional)
   //    <0,0,0,3> EventName override (optional)
   //    <0,0,0,4> SyncType (0=Async,1=Sync,2=Callback) - see ps_Event_TypeInfo_Equates
   //    <0,0,0,5> SuppressName (T/F)
   //    <0,0,0,6> DispID flag (T/F)
   //    <0,0,0,7> Pass parameters as single array flag (T/F)
   
   equ PS_OLE_QE_POS_EVENTNAME$                    to 1
   equ PS_OLE_QE_POS_QUALIFIER$                    to 2
   equ PS_OLE_QE_POS_EVENTNAME_OVERRIDE$           to 3
   equ PS_OLE_QE_POS_SYNCTYPE$                     to 4
   equ PS_OLE_QE_POS_SUPPRESSNAME$                 to 5
   equ PS_OLE_QE_POS_DISPID$                       to 6
   equ PS_OLE_QE_POS_SINGLEARG$                    to 7
   

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

   // DESIGNPROPERTYLIST property
   //
   // Returns an @fm delimited dynamic array of design time OLE properties with
   // the format:
   //
   //    <n,1> Property Name
   //    <n,2> Property Flags
   //    <n,3> Property Type (VARTYPE)
   //    <n,4> Property documentation string
   //    <n,5> Extended Property Type (PS_OLE_PROPERTY_TYPE)
   //    <n,6> @svm'd list of internal property values (for Enum types)
   //    <n,7> @svm'd list of external property values (for enum types)
   //
   
   equ PS_OLE_DPL_POS_PROPNAME$                    to 1
   equ PS_OLE_DPL_POS_PROPFLAGS$                   to 2
   equ PS_OLE_DPL_POS_VARTYPE$                     to 3
   equ PS_OLE_DPL_POS_DOCTEXT$                     to 4
   equ PS_OLE_DPL_POS_EXTTYPE$                     to 5
   equ PS_OLE_DPL_POS_IVALS$                       to 6
   equ PS_OLE_DPL_POS_OVALS$                       to 7
   
   // Extended OLE Property Types
   equ PS_OLE_EXT_TYPE_USE_VT$                     to 0
   equ PS_OLE_EXT_TYPE_COLOR$                      to 1
   equ PS_OLE_EXT_TYPE_FONT$                       to 2
   equ PS_OLE_EXT_TYPE_FILE$                       to 3
   equ PS_OLE_EXT_TYPE_FOLDER$                     to 4
   equ PS_OLE_EXT_TYPE_PICTURE$                    to 5
   equ PS_OLE_EXT_TYPE_PAGE$                       to 6
   equ PS_OLE_EXT_TYPE_COLOR_PAGE$                 to 7
   equ PS_OLE_EXT_TYPE_FONT_PAGE$                  to 8
   equ PS_OLE_EXT_TYPE_PICTURE_PAGE$               to 9
   equ PS_OLE_EXT_TYPE_ENUM$                       to 10
   equ PS_OLE_EXT_TYPE_PREDEF_VALUE$               to 11
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#endif
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
