home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1996 February
/
PCWK0296.iso
/
lwp95en
/
lotus013.dsk
/
LSCONST.LSS
< prev
next >
Wrap
Text File
|
1994-08-03
|
5KB
|
107 lines
'-----------------------------------------------------------------------------
' File: LSCONST.LSS
' Module:
' Author: Jeff Crump
' Created: April 9, 1993
'
' Copyright (c) 1993 Lotus Development Corporation
'
' Description: LotusScript Global Constants.
'
' Revision History:
' 10-22-93 jmc Removed unnecessary items
' 09-17-93 jmc Added ATTR_MODE and ATTR_HANDLE
' 04-09-93 jmc Created.
'-----------------------------------------------------------------------------
'-----------------------------------------------------------------------------
' Variant DataType Values
'-----------------------------------------------------------------------------
Public Const V_EMPTY = 0 ' Empty variant
Public Const V_NULL = 1 ' Variant containing Null
Public Const V_INTEGER = 2 ' Integer
Public Const V_LONG = 3 ' Long integer (4 bytes)
Public Const V_SINGLE = 4 ' Single
Public Const V_DOUBLE = 5 ' Double
Public Const V_CURRENCY = 6 ' Currency
Public Const V_DATE = 7 ' Date value
Public Const V_STRING = 8 ' String
Public Const V_DISPATCH = 9 ' OLE object
Public Const V_ERROR = 10 ' ERROR (from OLE only)
Public Const V_BOOLEAN = 11 ' BOOLEAN (from OLE only)
Public Const V_VARIANT = 12 ' VARIANT array or list
Public Const V_IUNKNOWN = 13 ' OLE unknown object
Public Const V_LSOBJ = 34 ' LotusScript object
Public Const V_PRODOBJ = 35 ' Product object
'-----------------------------------------------------------------------------
' MsgBox parameters
'-----------------------------------------------------------------------------
Public Const MB_OK = 0 ' OK button only
Public Const MB_OKCANCEL = 1 ' OK and Cancel buttons
Public Const MB_ABORTRETRYIGNORE = 2 ' Abort, Retry, and Ignore buttons
Public Const MB_YESNOCANCEL = 3 ' Yes, No, and Cancel buttons
Public Const MB_YESNO = 4 ' Yes and No buttons
Public Const MB_RETRYCANCEL = 5 ' Retry and Cancel buttons
Public Const MB_ICONSTOP = 16 ' Critical message
Public Const MB_ICONQUESTION = 32 ' Warning query
Public Const MB_ICONEXCLAMATION = 48 ' Warning message
Public Const MB_ICONINFORMATION = 64 ' Information message
Public Const MB_APPLMODAL = 0 ' Application Modal Message Box
Public Const MB_DEFBUTTON1 = 0 ' First button is default
Public Const MB_DEFBUTTON2 = 256 ' Second button is default
Public Const MB_DEFBUTTON3 = 512 ' Third button is default
Public Const MB_SYSTEMMODAL = 4096 ' System Modal
'-----------------------------------------------------------------------------
' MsgBox return values
'-----------------------------------------------------------------------------
Public Const IDOK = 1 ' OK button pressed
Public Const IDCANCEL = 2 ' Cancel button pressed
Public Const IDABORT = 3 ' Abort button pressed
Public Const IDRETRY = 4 ' Retry button pressed
Public Const IDIGNORE = 5 ' Ignore button pressed
Public Const IDYES = 6 ' Yes button pressed
Public Const IDNO = 7 ' No button pressed
'-----------------------------------------------------------------------------
' SetAttr, Dir, GetAttr functions
'-----------------------------------------------------------------------------
Public Const ATTR_NORMAL = 0 ' Normal files
Public Const ATTR_READONLY = 1 ' Read-only files
Public Const ATTR_HIDDEN = 2 ' Hidden files
Public Const ATTR_SYSTEM = 4 ' System-attribute set
Public Const ATTR_VOLUME = 8 ' Volume label
Public Const ATTR_DIRECTORY = 16 ' Directory
Public Const ATTR_ARCHIVE = 32 ' Archive bit set
'-----------------------------------------------------------------------------
' FileAttr function
'-----------------------------------------------------------------------------
Public Const ATTR_MODE = 1 ' Return mode of file (below)
Public Const ATTR_HANDLE = 2 ' Return OS handle for file
Public Const ATTR_INPUT = 1 ' File opened for Input mode
Public Const ATTR_OUTPUT = 2 ' File opened for Output mode
Public Const ATTR_RANDOM = 4 ' File opened for Random mode
Public Const ATTR_APPEND = 8 ' File opened for Append mode
Public Const ATTR_BINARY = 32 ' File opened for Binary mode
'-----------------------------------------------------------------------------
' Shell Window Style
'-----------------------------------------------------------------------------
Public Const SHELL_NORMAL_FOCUS = 1 ' Normal, with focus
Public Const SHELL_MIN_FOCUS = 2 ' Minimized, with focus (default)
Public Const SHELL_MAX_FOCUS = 3 ' Maximized, with focus
Public Const SHELL_NORMAL_NO_FOCUS = 4 ' Normal, no focus
Public Const SHELL_MIN_NO_FOCUS = 6 ' Minimized, no focus