open-insight/SYSPROG/STPROCINS/RTI_IDE_OPEN_EQUATES.txt
2024-03-25 15:17:34 -07:00

157 lines
6.9 KiB
Plaintext

compile insert rti_IDE_Open_Equates
/*
** Copyright (C) 2012-2019 Revelation Software Inc. All Rights Reserved **
This program 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 : Captain C
Date : February 2016
Purpose : Equates for use with the RTI_IDE_OPEN dialog
Comments
========
Amended Date Reason
======= ==== ======
Mr C 06 Feb 19 Added "New Item" create params
Mr C 14 Sep 16 Added None-Selected flag
Mr C 04 May 16 Clarified parent scale units for positioning
Mr C 16 Apr 16 Added positioning params
djh 14 Apr 16 Added IDE_OPN_CREATEPARAM_PROPGRID$ and
IDE_OPN_CREATEPARAM_PROPNAME$ for use with property
grid
Mr C 11 Feb 16 Added IDE_OPN_UDP_CLASSINFO$ and related constants
*/
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#ifndef _RTI_IDE_OPEN_EQUATES_
#define _RTI_IDE_OPEN_EQUATES_
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
equ IDE_OPN_UDP_CREATEPARAM$ to "@_$$_IDEOPEN_CREATEPARAM" ; // @window
equ IDE_OPN_UDP_CREATEOK$ to "@_$$_IDEOPEN_CREATEOK" ; // @window
equ IDE_OPN_UDP_TYPEINFO$ to "@_$$_IDEOPEN_TYPEINFO" ; // SYSTEM
equ IDE_OPN_UDP_CLASSINFO$ to "@_$$_IDEOPEN_CLASSINFO" ; // SYSTEM
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// Icons
equ IDE_OPN_ICO_OPEN$ to "RTI_IDE_OPEN"
equ IDE_OPN_ICO_SAVE$ to "RTI_IDE_OPEN_SAVE"
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
equ IDE_OPN_CTRLSPACING$ to 4
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// CREATE event CreateParam equates
//
// <1> Type ID to load - leave blank for all types
// <2> Class ID to load - leave blank for all types
// <3> Entity ID to load - only valid of one type/class is specified
// <4> Save Mode - If TRUE$ then the dialog is acting in "Save Mode"
// and Type ID and Class ID are required
// <5> xPos - X position to use for display
// <6> yPos - Y position to use for display
// <7> None-Selected flag - If TRUE$ then show the non-selected flag
// <8> Dialog Title - Title to display in the dialog
// <9> New Item Text - Text for the "New Item" item
// <10> New Item ID - Token for the caller to recognise a "New Item"
// item; defaults to "<newent>"
equ IDE_OPN_CREATEPARAM_TYPEID$ to 1 ; // can be @vm delimited
equ IDE_OPN_CREATEPARAM_CLASSID$ to 2 ; // can be @vm delimited
equ IDE_OPN_CREATEPARAM_ENTITYID$ to 3
equ IDE_OPN_CREATEPARAM_MODE$ to 4
equ IDE_OPN_CREATEPARAM_XPOS$ to 5
equ IDE_OPN_CREATEPARAM_YPOS$ to 6
equ IDE_OPN_CREATEPARAM_NONSEL$ to 7
equ IDE_OPN_CREATEPARAM_TITLE$ to 8
equ IDE_OPN_CREATEPARAM_NEWITEMTEXTID$ to 9
equ IDE_OPN_CREATEPARAM_NEWITEMID$ to 10
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// IDE_OPN_CREATEPARAM_XPOS$ constants - @vm positions
equ IDE_OPN_XPOS_VALUE$ to 1 ; // In parent scale units
equ IDE_OPN_XPOS_ALIGNR$ to 2 ; // TRUE$ if xpos is right-align
equ IDE_OPN_XPOS_SCREEN$ to 3 ; // TRUE$ if xpos is screen X
// IDE_OPN_CREATEPARAM_YPOS$ constants - @vm positions
equ IDE_OPN_YPOS_VALUE$ to 1 ; // In parent scale units
equ IDE_OPN_YPOS_ALIGNB$ to 2 ; // TRUE$ if yPos is bottom-align
equ IDE_OPN_YPOS_SCREEN$ to 3 ; // TRUE$ if yPos is screen Y
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
equ IDE_OPN_NONSEL_TOKEN$ to "<nonsel>"
equ IDE_OPN_NEWITEM_TOKEN$ to "<newent>"
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// Cached type information structure (IDE_OPEN_UDP_TYPEINFO$)
//
// <1> @vm'd list of type IDs
// <2> @vm'd list of type image info (@svm/@tm delimited)
// <3> @vm'd list of type DSN IDs
// <4> @vm'd list of type descriptions
// <5> @vm'd list of class flags
equ IDE_OPN_TI_ID$ to 1
equ IDE_OPN_TI_IMAGEINFO$ to 2
equ IDE_OPN_TI_DSNID$ to 3
equ IDE_OPN_TI_DESC$ to 4
equ IDE_OPN_TI_CLASSFLAG$ to 5
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// Cached type information structure (IDE_OPEN_UDP_CLASSINFO$)
//
// <1> @vm'd list of class IDs
// <2> @vm'd list of class image info (@svm/@tm delimited)
// <3> @vm'd list of class DSN IDs
// <4> @vm'd list of class descriptions
equ IDE_OPN_CI_ID$ to 1
equ IDE_OPN_CI_IMAGEINFO$ to 2
equ IDE_OPN_CI_DSNID$ to 3
equ IDE_OPN_CI_DESC$ to 4
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// Cached info stored in the VALUE property for each TYPE in LST_TYPEID
//
// <0,1> TypeID
// <0,2> DSN ID
// <0,3> Class Flag
equ IDE_OPN_TV_TYPEID$ to 1
equ IDE_OPN_TV_DSNID$ to 2
equ IDE_OPN_TV_CLASSFLAG$ to 3
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#endif
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////