Skip to main content
Version: 2023

Sys

Namespace: PPJ.Runtime

Assembly: PPJ.Web.49 (4.9.0.0)

Global class containing all the system variables and constants required by the migrated SAL application.

public class Sys

Fields

NameTypeDescription
AC_DynamicInt32Specify this constant with Sal.ArraySetUpperBound to change a const array to a dynamic array. Value = 2147483648
CF_TextInt32This constant represents the format value returned by a call to Sal.DDEExtractOptions. Value = 1
CM_TableCellInt32Specify this in Sal.ContextMenuSetPopup to replace the default menu that Windows displays when the mouse pointer is in an editable table window cell. Value = 1
COL_CellType_ButtonInt32
COL_CellType_CheckBoxInt32
COL_CellType_CustomInt32
COL_CellType_DateTimeInt32
COL_CellType_DropDownListInt32
COL_CellType_MaskedInt32
COL_CellType_PopupEditInt32
COL_CellType_StandardInt32
COL_CellType_TextInt32TableWindow cell types.
COL_CenterJustifyInt32This table column flag indicates that you want to center text in a table window column. If this flag is set, you cannot also set the COL_CenterJustify flag at the same time. If you set neither COL_RightJustify nor COL_CenterJustify, then it left-justifies the column text by default. Use this constant with the Sal.TblSetColumnFlags and Sal.TblQueryColumnFlags functions. Value = 0x100
COL_CheckBox_IgnoreCaseInt32Used on check box columns to indicate that it should ignore the case of the checked and unchecked strings.
COL_DimTitleInt32This table column flag indicates that a column title is show as disabled text. Use this constant with the Sal.TblSetColumnFlags and Sal.TblQueryColumnFlags functions. Value = 32
COL_DropDownList_AutoInt32
COL_DropDownList_EditableInt32
COL_DropDownList_SortedInt32Column flags used to define drop down columns.
COL_DropDownList_VScrollInt32
COL_EditableInt32This table column flag lets users edit the text of a table window column. Use this constant with the Sal.TblSetColumnFlags and Sal.TblQueryColumnFlags functions. Value = 2
COL_EnableSortInt32This grid column flag enables sorting in the context menu (right click on column header). Sorting is enabled when set to TRUE and disabled when set to FALSE. This also affects SalTblSortRows function (i.e. SalTblSortRows will have no effect if this flag is set to FALSE).
COL_GetIDInt32This table column flag indicates that you want to get a column based on its identifier. Use this constant with the Sal.TblGetColumnWindow function. 1 is the first column in the application outline. Value = 0
COL_GetPosInt32This table column flag indicates that you want to get a column based on its position in the table window. Use this constant with the Sal.TblGetColumnWindow function. 1 is the first (left-most) column in the table window. Value = 1
COL_IndicateOverflowInt32This table column flag adds the overflow ellipsis (...) when the text does not fit in the cell. Use this constant with the Sal.TblSetColumnFlags and Sal.TblQueryColumnFlags functions. Value = 0x1000
COL_InvisibleInt32This table column flag indicates that a column is used to edit a password. Use this constant with the Sal.TblSetColumnFlags and Sal.TblQueryColumnFlags functions. Value = 16
COL_LowerCaseInt32This table column flag indicates that the cell format is lowercase. Use this constant with the Sal.TblSetColumnFlags and Sal.TblQueryColumnFlags functions. Value = 0x0800
COL_MultilineCellInt32This constant is used to define a column as a multiline column.
COL_ReadOnlyInt32This table column flag indicates that the column cell is read only. Use this constant with the Sal.TblSetColumnFlags and Sal.TblQueryColumnFlags functions. Value = 0x0200
COL_RightJustifyInt32This table column flag right-justifies text in a column. If this flag is set, you cannot also set the COL_CenterJustify flag at the same time. If you set neither COL_RightJustify nor COL_CenterJustify, then left-justifies the column text by default. Use this constant with the Sal.TblSetColumnFlags and Sal.TblQueryColumnFlags functions. Value = 0x80
COL_SelectedInt32This table column flag indicates that a column is selected. Use this constant with the Sal.TblSetColumnFlags and Sal.TblQueryColumnFlags functions. Value = 4
COL_UpperCaseInt32This table column flag indicates that the cell format is uppercase. Use this constant with the Sal.TblSetColumnFlags and Sal.TblQueryColumnFlags functions. Value = 0x0400
COL_VisibleInt32This table column flag indicates that a column is visible. Use this constant with the Sal.TblSetColumnFlags and Sal.TblQueryColumnFlags functions. Value = 1
COLOR_3DFaceInt32The color of the window background (sometimes called the "button face" color). The default is light gray. However, a user can change the color of the window background by selecting a different color scheme. Specify this to make the color of the window background consistent with the color scheme set by the user. Use this constant with Sal.ColorGet and Sal.ColorSet. Value = 0x70000000
COLOR_3DHighlightInt32The color of highlighted areas. The default is white. However, the user can change the color of highlighted areas by selecting a different color scheme. Specify this to make the color of highlighted areas consistent with the color scheme set by the user. Use this constant with Sal.ColorGet and Sal.ColorSet. Value = 0x90000000
COLOR_3DShadowInt32The color of shadow areas. The default is dark gray. However, a user can change the color of shadow areas by selecting a different color scheme. Specify this to make the color of shadow areas consistent with the color scheme set by the user. Use this constant with Sal.ColorGet and Sal.ColorSet. Value = 0x80000000
COLOR_BlackInt32Black.
COLOR_BlueInt32Blue.
COLOR_BurgundyInt32Burgundy.
COLOR_CharcoalInt32Charcoal.
COLOR_ChartreuseInt32Chartreuse.
COLOR_CyanInt32Cyan.
COLOR_DarkAquaInt32DarkAqua.
COLOR_DarkBlueInt32DarkBlue.
COLOR_DarkGrayInt32DarkGray.
COLOR_DarkGreenInt32DarkGreen.
COLOR_DarkRedInt32DarkRed.
COLOR_DefaultInt32Default or empty color.
COLOR_GrayInt32Gray.
COLOR_GreenInt32Green.
COLOR_IndexCellInt32This constant refers to the cell background color of the context row in a table window column. (You cannot set the color of the cell text in the Property window). Use this constant with the Sal.ColorGet and Sal.ColorSet functions. Value = 108
COLOR_IndexCellTextInt32This constant refers to the cell text color of the context row in a table window column. (You cannot set the color of the cell text in the Property window). Use this constant with the Sal.ColorGet and Sal.ColorSet functions. Value = 100
COLOR_IndexWindowInt32This constant refers to the window's background color. Use this constant with the Sal.ColorGet, Sal.ColorGetSysColor, and Sal.ColorSet functions. Value = 5
COLOR_IndexWindowTextInt32This constant refers to the window's text color. Use this constant with the Sal.ColorGet, Sal.ColorGetSysColor, and Sal.ColorSet functions. Value = 8
COLOR_JadeInt32Jade.
COLOR_LightAquaInt32LightAqua.
COLOR_LightGrayInt32LightGray.
COLOR_LightGreenInt32LightGreen.
COLOR_LightPeriwinkleInt32LightPeriwinkle.
COLOR_MagentaInt32Magenta.
COLOR_MaizeInt32Maize.
COLOR_MarigoldInt32Marigold.
COLOR_MidnightBlueInt32MidnightBlue.
COLOR_NoneInt32This constant means that the transparent color has not been set. Sal.ColorGet can return this constant, and you can specify this constant in Sal.ColorSet. Value = 0x60000000
COLOR_OrchidInt32Orchid.
COLOR_PeriwinkleInt32Periwinkle.
COLOR_PurpleInt32Purple.
COLOR_RedInt32Red.
COLOR_RoyalBlueInt32RoyalBlue.
COLOR_SalmonInt32Salmon.
COLOR_SkyInt32Sky.
COLOR_SysWindowInt32This constant refers to the window's background color. Use this constant with the Sal.ColorGetSysColor function. Value = 0x10000000
COLOR_SysWindowFrameInt32This constant refers to the color of the window's frame. Use this constant with the Sal.ColorGetSysColor function. Value = 0x50000000
COLOR_SysWindowTextInt32This constant refers to the color of the window's text. Use this constant with the Sal.ColorGetSysColor function. Value = 0x20000000
COLOR_TealInt32Teal.
COLOR_WhiteInt32White.
COLOR_YellowInt32Yellow.
CREATE_AsChildInt32
CREATE_BorderInt32
CREATE_HiddenInt32Flags passed to Sal.CreateWindowEx
CURSOR_ArrowInt32The standard arrow cursor. Use this constant with the Sal.CursorSet function.
CURSOR_CrossInt32A crosshair cursor. Use this constant with the Sal.CursorSet function.
CURSOR_DisableDropInt32The cursor that displays when in drag mode and drop is disabled. Use this constant with the Sal.CursorSet and Sal.CursorSetFile functions. Value = 3
CURSOR_DragDropInt32The cursor that displays when in drag mode and drop is enabled. Use this constant with the Sal.CursorSet and Sal.CursorSetFile functions. Value = 2
CURSOR_IBeamInt32A text (I-beam) cursor. Use this constant with the Sal.CursorSet function.
CURSOR_IconInt32An empty icon. Use this constant with the Sal.CursorSet function.
CURSOR_SizeInt32A cursor that looks like a square with a smaller square in its lower right corner. Use this constant with the Sal.CursorSet function.
CURSOR_SizeNESWInt32A double-pointed cursor with arrows pointing northeast and southwest. Use this constant with the Sal.CursorSet function.
CURSOR_SizeNSInt32A double-pointed cursor with arrows pointing north and south. Use this constant with the Sal.CursorSet function.
CURSOR_SizeNWSEInt32A double-pointed cursor with arrows pointing northwest and southeast. Use this constant with the Sal.CursorSet function.
CURSOR_SizeWEInt32A double-pointed cursor with arrows pointing west and east. Use this constant with the Sal.CursorSet function.
CURSOR_UpArrowInt32A vertical arrow cursor. Use this constant with the Sal.CursorSet function.
CURSOR_WaitInt32An hourglass cursor. Use this constant with the Sal.CursorSet function.
CURSOR_WindowInt32The cursor that displays when positioned over a window and drag mode is not enabled. Use this constant with the Sal.CursorSet and Sal.CursorSetFile functions. Value = 1
DATETIME_NullSalDateTimeUse this constant to set a Date/Time to a null value or to check if a Date/Time value is null.
DBP_AUTOCOMMITInt32Use this constant to either get or set the value of a database parameter indicating the current autocommit status of the database. If autocommit is on (TRUE), the database commits changes automatically after each SQL command. If autocommit is off (FALSE), then the database commits changes only when you issue a COMMIT command. Use this constant with the Sql.GetParameter, and Sql.SetParameter functions. You can only use DBP_AUTOCOMMIT with databases which support this feature. Please refer to the appropriate database manuals for more information. Value = 1
DBP_BRANDInt32Use this constant to obtain the brand of the database engine. Brand is represented by the numeric value of one of these constants: DBV_BRAND_ALLBASE 10 DBV_BRAND_AS400 7 DBV_BRAND_CINCOMSUPRA 20 DBV_BRAND_DB2 2 DBV_BRAND_INFORMIX 5 DBV_BRAND_INFORMIXONLINE 24 DBV_BRAND_NETWARE 6 DBV_BRAND_ORACLE 4 DBV_BRAND_ORACLE7 28 DBV_BRAND_OS2EE 3 DBV_BRAND_SQL 1 DBV_BRAND_SYBASE 8 Use this constant with the Sql.GetParameter. Value = 2
DBP_FETCHTHROUGHInt32Use this constant to either get or set the status of a database parameter indicating the current status of the FETCHTHROUGH feature. FETCHTHROUGH enables you to retrieve rows directly from the database server instead of from the client's input message buffer, thereby ensuring that you get the most up-to-date data. If FETCHTHROUGH is on (TRUE), the application fetches data one row at a time from the backend. Using this feature increases response time, so you should only use this feature when you need to get the most up-to-date information. If FETCHTHROUGH is off (FALSE), the application fetches data from the client's input message buffer whenever possible. This is the default. Use this constant with the Sql.GetParameter, and Sql.SetParameter, functions. You can only use this feature against SQLBase. Value = 7
DBP_ISOLEVELInt32Isolation level: RR,RL,CS,RO,SE
DBP_LOCKWAITTIMEOUTInt32Use this constant to either get or set the value of a database parameter which specifies the number of seconds an application should wait for a database lock to be acquired before timing out. After the specified time has elapsed, SQLBase rolls back the transaction. The default timeout value is 300 seconds. Valid time out values are: 1-1800 Wait 1 second to 30 minutes -1 Wait forever 0 Never wait; immediately return a time out error. Use this constant with the Sql.GetParameter and Sql.SetParameter functions. You can only use this constant against databases which support the setting of lock wait timeout values. Please refer to the appropriate database manuals for more information. Value = 5
DBP_NOPREBUILDInt32Use this constant to either get or set the value of a database parameter which specifies whether result sets should be pre-built on remote databases when the application is in result set mode and is using the Release Locks isolation level. Pre-building a result set provides the advantages of being able to release shared locks and returning control to the client. The disadvantage of pre-building a result set is that the application must wait while the result set is being built. If NOPREBUILD is on (TRUE), result sets are not pre-built. A shared lock remains on the current page. This is the default setting. If NOPREBUILD is off (FALSE), result sets are pre-built on the remote database. Use this constant with the Sql.GetParameter and Sql.SetParameter functions. You can only use this feature against SQLBase. Value = 8
DBP_PRESERVEInt32Use this constant to get or set the value of the database parameter that specifies whether cursor context preservation is on or off. If cursor-context preservation is on (TRUE), a COMMIT does not destroy an active result set (cursor context). This enables an application to maintain its position after a COMMIT, INSERT, or UPDATE. The cursor context is not preserved after an isolation level change. The context is preserved after a ROLLBACK if both of the following are true: The application is in the Release Locks (RL) isolation level. A DDL operation was not performed. If cursor-context preservation is off (FALSE), a COMMIT does destroy an active result set. Cursor context preservation is lost. Use this constant with the Sql.GetParameter, and Sql.SetParameter functions. Value = 3
DBP_ROLLBACKONTIMEOUTInt32Use this constant to either get or set the value of a database parameter which specifies the rollback status when a lock timeout occurs. If the parameter is TRUE, the entire transaction rolls back when a lock timeout occurs. If it is FALSE, only the current command rolls back on a lock timeout. Use this constant with the Sql.GetParameter, and Sql.SetParameter. The rollbackontimeout feature can only be used against some databases. Please see the appropriate database manuals for more information. Value = 6
DBP_VERSIONInt32Use this constant to get the version number of the server software. Use this constant with the Sql.GetParameter function. Value = 4
DBV_BRAND_ALLBASEInt32DBV_BRAND_ALLBASE means that the application is accessing an ALLBASE database. Value = 10
DBV_BRAND_APPLEDALInt32DBV_BRAND_APPLEDAL means that the application is using an Apple DAL Interface. Value = 22
DBV_BRAND_AS400Int32DBV_BRAND_AS400 means that the application is accessing an AS/400 database. Value = 7
DBV_BRAND_CCAMODEL20Int32DBV_BRAND_CCAMODEL20 means that the application is accessing a CCA Model 204 database. Value = 21
DBV_BRAND_CINCOMSUPRAInt32DBV_BRAND_CINCOMSUPRA means that the application is accessing a Cincom Supra database. Value = 20
DBV_BRAND_DB2Int32DBV_BRAND_DB2 means that the application is accessing a DB2 database. Value = 2
DBV_BRAND_DBASEInt32DBV_BRAND_DBASE means that the application is accessing a DBASE database. Value = 17
DBV_BRAND_EDASQLInt32DBV_BRAND_EDASQL means that the application is accessing a Sybase database. Value = 25
DBV_BRAND_IMBSQLDSInt32DBV_BRAND_IMBSQLDS means that the application is accessing a IBM SQL/DS database. Value = 13
DBV_BRAND_INFORMIXInt32DBV_BRAND_INFORMIX means that the application is accessing an Informix database. Value = 5
DBV_BRAND_INFORMIXONLINEInt32DBV_BRAND_INFORMIXONLINE means that the application is accessing an Informix Online database. Value = 24
DBV_BRAND_INGRESInt32DBV_BRAND_INGRES means that the application is accessing a INGRES database. Value = 15
DBV_BRAND_INGRESSOPENSQLInt32DBV_BRAND_INGRESSOPENSQL means that the application is accessing a Ingres OpenSQL database. Value = 29
DBV_BRAND_INGRESSOPENSQLDInt32DBV_BRAND_INGRESSOPENSQLD means that the application is accessing a Ingres OpenSQL database with date support. Value = 30
DBV_BRAND_MSSQLInt32DBV_BRAND_NOCOMMIMER means that the application is accessing a Nocom Mimer database. Value = 102
DBV_BRAND_NETWAREInt32DBV_BRAND_NETWARE means that the application is accessing a Novell NetWare database. Value = 6
DBV_BRAND_NETWARESQLInt32
DBV_BRAND_NOCOMMIMERInt32DBV_BRAND_NOCOMMIMER means that the application is accessing a Nocom Mimer database. Value = 27
DBV_BRAND_NONSTOPSQLInt32This constant is returned by Sql.GetParameter when you specify DBP_BRAND means that the application is accessing a Tandem Nonstop SQL database. Value = 12
DBV_BRAND_ODBCInt32DBV_BRAND_ODBC means that the application is accessing a database using an ODBC Router. Value = 31
DBV_BRAND_ORACLEInt32DBV_BRAND_ORACLE means that the application is accessing an Oracle database. Value = 4
DBV_BRAND_ORACLE7Int32DBV_BRAND_ORACLE7 means that the application is accessing an Oracle v. 7 database. Value = 28
DBV_BRAND_ORACLE8Int32DBV_BRAND_ORACLE8 means that the application is accessing an Oracle v. 8 database.
DBV_BRAND_OS2EEInt32DBV_BRAND_OS2EE means that the application is accessing an IBM Database Manager database. Value = 3
DBV_BRAND_RDBInt32This constant is returned by Sql.GetParameter when you specify DBP_BRAND CST_DBV_BRAND_RDB means that the application is accessing a DEC RDB database. Value = 11
DBV_BRAND_RDBIIInt32DBV_BRAND_RDBII means that the application is accessing a Fujitsu RDBII database. Value = 19
DBV_BRAND_SHAREBASEInt32DBV_BRAND_SHAREBASE means that the application is accessing a Teradata Sharebase database. Value = 23
DBV_BRAND_SNIDDB4Int32DBV_BRAND_SNIDDB4 means that the application is accessing a SNI DDB4 database. Value = 18
DBV_BRAND_SNISESAMInt32DBV_BRAND_SNISESAM means that the application is accessing a SNI SESAM database. Value = 14
DBV_BRAND_SNIUDSInt32DBV_BRAND_SNIUDS means that the application is accessing a SNI UDS database. Value = 26
DBV_BRAND_SQLInt32DBV_BRAND_SQL means that the application is accessing a SQLBase database. Value = 1
DBV_BRAND_SQLACCESSInt32DBV_BRAND_SQLACCESS means that the application is accessing a SQL Access database. Value = 16
DBV_BRAND_SQLHOSTAPPInt32DBV_BRAND_SQLHOSTAPP means that the application using SQLHOST App Services. Value = 99
DBV_BRAND_SYBASEInt32DBV_BRAND_SYBASE means that the application is accessing a Sybase database. Value = 8
DBV_BRAND_SYSTEM10Int32Sql.GetParameter returns this constant when you specify DBP_BRAND and are accessing a Sybase System 10 database. Value = 32
DBV_BRAND_TERADATAInt32DBV_BRAND_TERADATA means that the application is accessing a Teradata dbc database. Value = 9
DDE_fAckInt32DDE status bits
DDE_fBusyInt32
DDE_fNoDataInt32
DDE_fReleaseInt32
DDE_fResponseInt32
DOCK_AnyInt32
DOCK_BottomInt32
DOCK_LeftInt32
DOCK_NoneInt32Dockable dialogs constants
DOCK_RightInt32
DOCK_TopInt32
DRIVE_CDROMInt32
DRIVE_FixedInt32
DRIVE_FloppyInt32DRIVE_* constants
DRIVE_NetworkInt32
DRIVE_RAMInt32
DT_BooleanInt32This constant is returned by the Sal.GetDataType function. It indicates that the field or table window column is of type Boolean. Value = 1
DT_DateTimeInt32This constant is returned by the Sal.GetDataType function. It indicates that the field or table window column is of type Date/Time. Value = 2
DT_LongStringInt32This constant is returned by the Sal.GetDataType function. It indicates that the field or table window column is of type Long String. Value = 7
DT_NumberInt32This constant is returned by the Sal.GetDataType function. It indicates that the field or table window column is of type Number. Value = 3
DT_StringInt32This constant is returned by the Sal.GetDataType function. It indicates that the field or table window column is of type String. Value = 5
DW_DefaultInt32This constant is returned by the Sal.GetMaxDataLength function when a data field, multiline text field, or table window column is declared with a length of "Default". Value = -1
EVAL_DateInt32This constant is returned by the Sal.CompileAndEvaluate function when the data type of an expression evaluates to Date/Time. Value = 3
EVAL_HandleInt32This constant is returned by the Sal.CompileAndEvaluate function when the data type of an expression evaluates to Window Handle. Value = 4
EVAL_IfInt32This constant is returned by the Sal.CompileAndEvaluate function when the data type of an expression evaluates to an If statement. Value = 100
EVAL_NumberInt32This constant is returned by the Sal.CompileAndEvaluate function when the data type of an expression evaluates to Number. Value = 1
EVAL_ObjectInt32One of the File Access constants used by the Sal.ListFiles function to define the type of files to retrieve and place in a list box. FA_Archive specifies that should retrieve only archived files. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 32
EVAL_SetInt32This constant is returned by the Sal.CompileAndEvaluate function when the data type of an expression evaluates to a SET expression. Value = 99
EVAL_StringInt32This constant is returned by the Sal.CompileAndEvaluate function when the data type of an expression evaluates to String. Value = 2
EVAL_TemplateInt32This constant is returned by the Sal.CompileAndEvaluate function when the data type of an expression evaluates to Template. Value = 5
EVENT_ERRORInt32Event constants used by Sal.Trace
EVENT_INFORMATIONInt32
EVENT_WARNINGInt32
FA_ArchiveInt32This constant is returned by the SAl.CompileAndEvaluate function when the data type of an expression evaluates to an object. Value = 7
FA_DirectoryInt32One of the File Access constants used by the Sal.ListFiles function to define the type of files to retrieve and place in a list box. FA_Directory specifies that should retrieve only sub-directories within the specified directory. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 16
FA_DriveInt32One of the File Access constants used by the Sal.ListFiles function to define the type of files to retrieve and place in a list box. FA_Drive specifies that should retrieve a list of drives to which the machine is currently connected. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 0x4000
FA_ExclusiveInt32One of the File Access constants used by the Sal.ListFiles function to define the type of files to retrieve and place in a list box. FA_Exclusive specifies that should retrieve only files of the specified type. If you do not specify FA_Exclusive, files of the specified type and FA_Standard files are listed with normal files. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 0x8000
FA_HiddenInt32One of the File Access constants used by the Sal.ListFiles function to define the type of files to retrieve and place in a list box. FA_Hidden specifies that should retrieve all hidden files in the specified directory. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 2
FA_QueuedInt32One of the File Access constants used by the Sal.ListFiles function to define the type of files to retrieve and place in a list box. FA_Queued specifies that should retrieve queued files (such as those to be printed) in the specified directory. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 0x2000
FA_ReadOnlyInt32One of the File Access constants used by the Sal.ListFiles function to define the type of files to retrieve and place in a list box. FA_ReadOnly specifies that should retrieve only read-only files in the specified directory. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 1
FA_StandardInt32One of the File Access constants used by the Sal.ListFiles function to define the type of files to retrieve and place in a list box. FA_Standard specifies that should retrieve all read/write files in the specified directory. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 0
FA_SystemInt32One of the File Access constants used by the Sal.ListFiles function to define the type of files to retrieve and place in a list box. FA_System specifies that should retrieve all system files in the specified directory. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 4
FETCH_DeleteInt32This constant is returned to one of the SqlFetch* functions to indicate a failure in fetching the requested row. Could not fetch the row because it had been deleted from the query set since it was last fetched. Use this constant with the Sql.FetchNext, Sql.FetchPrevious, and Sql.FetchRow functions. Value = 3
FETCH_EOFInt32This constant is returned to one of the SqlFetch* functions to indicate a failure in fetching the requested row. Could not fetch the row because it reached the end of the query set. Use this constant with the Sql.FetchNext, Sql.FetchPrevious, and Sql.FetchRow functions. Value = 1
FETCH_OkInt32This constant is returned to one of the SqlFetch* functions to indicate that the requested row was successfully fetched from the query set. Use this constant with the Sql.FetchNext, Sql.FetchPrevious, and Sql.FetchRow functions. Value = 0
FETCH_UpdateInt32This constant is returned to one of the SqlFetch* functions to indicate a failure in fetching the requested row. Could not fetch the row because it had been updated since it was last fetched. Use this constant with the Sql.FetchNext, Sql.FetchPrevious, and Sql.FetchRow functions. Value = 2
FILE_CopyDestInt32This constant is returned when the Sal.FileCopy function fails because it can not open the destination file. Value = 2
FILE_CopyExistInt32This constant is returned when the Sal.FileCopy function fails because the destination file already exists and the bOverWrite parameter is FALSE. Value = 3
FILE_CopyOKInt32This constant is returned when the Sal.FileCopy function successfully copies the contents of the source file to the destination file. Value = 0
FILE_CopyReadInt32This constant is returned when the Sal.FileCopy function fails while reading the source file. Value = 4
FILE_CopySrcInt32This constant is returned when the Sal.FileCopy function fails because the source file can not be opened. Value = 1
FILE_CopyWriteInt32This constant is returned when the Sal.FileCopy function fails while writing to the destination file. Value = 5
FILE_SeekBeginInt32Use this constant with the Sal.FileSeek function to position the file pointer at the beginning of a file. Value = 0
FILE_SeekCurrentInt32Use this constant with the Sal.FileSeek function to position the file pointer at its current location in the file. Value = 1
FILE_SeekEndInt32Use this constant with the Sal.FileSeek function to position the file pointer at the end of the file. Value = 2
FMT_Date_JapanEmperorInt32This constant is one of four possible integer format parameter values for a field. When the constant specifying which integer format parameter to get or set is FMT_Parm_iDateType, the integer format parameter value of a field can be FMT_Date_JapanEmperor. To use the JapanEmperor format, add a [GTITOOLS] section to WIN.INI, and set sDateType to JapanEmperor. In addition, set the sCountry parameter in the [INTL] section of WIN.INI to "Japan". Value = 3
FMT_Date_JapanGregorianInt32This constant is one of four possible integer format parameter values for a field. When the constant specifying which integer format parameter to get or set is FMT_Parm_iDateType, the integer format parameter value of a field can be FMT_Date_JapanGregorian. To use the JapanGregorian format, add a [GTITOOLS] section to WIN.INI, and set sDateType to JapanGregorian. In addition, set the sCountry parameter in the [INTL] section of WIN.INI to "Japan". Value = 2
FMT_Date_LongGregorianInt32This constant is one of four possible integer format parameter values for a field. When the constant specifying which integer format parameter to get or set is FMT_Parm_iDateType, the integer format parameter value of a field can be FMT_Date_LongGregorian. To use the LongGregorian format, add a [GTITOOLS] section to WIN.INI, and set sDateType to LongGregorian. This defaults to the format set by FMT_Parm_sLongDate. Value = 0
FMT_Date_ShortGregorianInt32This constant is one of four possible integer format parameter values for a field. When the constant specifying which integer format parameter to get or set is FMT_Parm_iDateType, the integer format parameter value of a field can be FMT_Date_ShortGregorian. To use the ShortGregorian format, add a [GTITOOLS] section to WIN.INI, and set sDateType to ShortGregorian. This defaults to the format set by FMT_Parm_sShortDate. Value = 1
FMT_Format_CurrencyInt32This constant is used to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a number field. This constant is returned by the function Sal.FmtGetFormat when the format of a field or column is set to currency, and it is used by the function Sal.FmtSetFormat to set a field or column's format to currency. Value = 1
FMT_Format_DateInt32Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a date field. This constant is returned by the function Sal.FmtGetFormat when the format of a field or column is set to date, and it is used by the function Sal.FmtSetFormat to set a field or column's format to date. Value = 2
FMT_Format_DateTimeInt32Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a date/time field. This constant is returned by the function Sal.FmtGetFormat when the format of a field or column is set to date/time, and it is used by the function Sal.FmtSetFormat to set a field or column's format to date/time. Value = 3
FMT_Format_DecimalInt32Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a number field. This constant is returned by the function Sal.FmtGetFormat when the format of a field or column is set to decimal, and it is used by the function Sal.FmtSetFormat to set a field or column's format to decimal. Value = 4
FMT_Format_InvisibleInt32Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a string field. This constant is returned by the function Sal.FmtGetFormat when the format of a field or column is set to invisible, and it is used by the function Sal.FmtSetFormat to set a field or column's format to invisible. Value = 5
FMT_Format_LowerCaseInt32Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a string field. This constant is returned by the function Sal.FmtGetFormat when the format of a field or column is set to lowercase, and it is used by the function Sal.FmtSetFormat to set a field or column's format to lowercase. Value = 8
FMT_Format_PercentageInt32Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a number field. This constant is returned by the function Sal.FmtGetFormat when the format of a field or column is set to percentage, and it is used by the function Sal.FmtSetFormat to set a field or column's format to percentage. Value = 6
FMT_Format_PictureInt32Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a field or column of number or date/time data type. This constant is returned by the function Sal.FmtGetFormat when a field or column has been picture-formatted, and it is used by the function Sal.FmtSetFormat to set a field or column to be picture-formatted. Value = -1
FMT_Format_TimeInt32Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a time field. This constant is returned by the function Sal.FmtGetFormat when the format of a field or column is set to time, and it is used by the function Sal.FmtSetFormat to set a field or column's format to time. Value = 7
FMT_Format_UnformattedInt32Use this constant to get or set the format of a data field or table window column of any data type. This constant is returned by the function Sal.FmtGetFormat when the format of a field or column is set to unformatted, and it is used by the function Sal.FmtSetFormat to set a field or column's format to unformatted. Value = 0
FMT_Format_UpperCaseInt32Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a string field. This constant is returned by the function Sal.FmtGetFormat when the format of the field or column is set to uppercase, and it is used by the function Sal.FmtSetFormat to set a field or column's format to uppercase. Value = 9
FMT_Parm_iCurrDigitsInt32Use this constant to obtain and define a field's profile-driven format. It represents the number of digits in the fractional part of a currency amount. Value = 17
FMT_Parm_iCurrencyInt32Use this constant to obtain and define a field's profile-driven format. When you specify FMT_Parm_iCurrency, the integer format parameter value of a field can be one of the following: FMT_Prefix_NoSeparation FMT_Suffix_NoSeparation FMT_Prefix_Separation FMT_Suffix_Separation Value = 1
FMT_Parm_iDateTypeInt32Use this constant to obtain and define a field's profile-driven format. When you specify FMT_Parm_iDateType, the integer format parameter value of a field can be one of the following: FMT_Date_LongGregorian FMT_Date_ShortGregorian FMT_Date_JapanGregorian FMT_Date_JapanEmperor Value = 13
FMT_Parm_iDigitsInt32Use this constant to obtain and define a field's profile-driven format. It represents the number of significant digits to the right of a number's decimal point. When you specify FMT_Parm_iDigits, the integer format parameter value of a field is the number of digits. Value = 3
FMT_Parm_iLzeroInt32Use this constant to obtain and define a field's profile-driven format. It indicates whether or not to use a leading zero with decimal values less than 1.0 and greater than -1.0. When you specify FMT_Parm_iLzero, the integer format parameter value of a field can be one of the following: 0 indicates no leading zero (.7) 1 indicates a leading zero (0.7) Value = 4
FMT_Parm_iNegCurrInt32Use this constant to obtain and define a field's profile-driven format. It represents the negative currency format. When you specify FMT_Parm_iNegCurr, the integer format parameter value of a field can be one of the following: 0 for ($1) 1 for -$1 2 for $-1 3 for $1- 4 for (1$) 5 for -1$ 6 for 1-$ 7 for 1$- Value = 18
FMT_Parm_iTimeInt32Use this constant to obtain and define a field's profile-driven format. It represents the time format. When you specify FMT_Parm_iTime, the integer format parameter value of a field can be one of the following: FMT_Time_12Hour FMT_Time_24Hour Value = 5
FMT_Parm_iTLZeroInt32Use this constant to obtain and define a field's profile driven format. It indicates whether or not hours have a leading zero. When you specify FMT_Parm_iTLZero, the integer format parameter value of a field can be 0, meaning that there is no leading zero. Value = 16
FMT_Parm_s1159Int32Use this constant to obtain and define a field's profile-driven format. It represents the trailing string for times between 0:00 and 11:59 A.M. When you specify FMT_Parm_s1159, the string format parameter value can have a length of up to 3 characters. Value = 6
FMT_Parm_s2359Int32Use this constant to obtain and define a field's profile-driven format. It represents the trailing string for times between 12:00 and 23:59 P.M. When you specify FMT_Parm_s2359, the string format parameter value can have a length of up to 3 characters. Value = 7
FMT_Parm_sCurrencyInt32Use this constant to obtain and define a field's profile-driven format. It represents the currency symbol for a given country. When you specify FMT_Parm_sCurrency, the string format parameter value can have a length of up to 40 characters. Value = 8
FMT_Parm_sDecimalInt32Use this constant to obtain and define a field's profile-driven format. It represents the symbol that separates the integer and fractional parts of a number. Value = 10
FMT_Parm_sLongDateInt32Use this constant to obtain and define a field's profile-driven format. It represents a long date picture format such as d MMM, yyyy. Value = 15
FMT_Parm_sShortDateInt32Use this constant to obtain and define a field's profile-driven format. It represents a short date picture format such as M/d/yy. Value = 14
FMT_Parm_sThousandInt32Use this constant to obtain and define a field's profile-driven format. It represents the thousands separator character. Value = 11
FMT_Parm_sTimeInt32Use this constant to obtain and define a field's profile-driven format. It represents the time separator character. For instance, (:) is the separator in (9:25). Value = 12
FMT_Pic_DateTimeInt32This constant specifies that the picture format to validate is a date/time picture format. Use FMT_Pic_DateTime with the Sal.FmtIsValidPicture function. Value = 1 Valid date/time picture format values: Value Item Appearance M month 1-12 MM month 01-12 MMM month Jan-Dec MMMM month January-December d day 1-31 dd day 01-31 ddd day Mon-Sun dddd day Monday-Sunday yy year 00-99 yyyy year 0000-9999 hh hour 1-12 hhhh hour 0-24 mm minutes 0-59 ss seconds 0-59 mmmmmm microseconds 000000-999999 AMPM AM/PM The AM/PM indicator
FMT_Pic_NumberInt32This constant specifies that the picture format to validate is a number picture format. Use FMT_Pic_Number with the Sal.FmtIsValidPicture function. Value = 2 Valid number formats are: # Specifies the number of optional digits on both sides of the decimal point. 0 Specifies the number of decimal places to the right of the decimal point, and the minimum digits to the left of the decimal point. . Indicates the position of the decimal point. , Specifies the thousands separator when nested between 0's or #'s. ; Specifies that there are two picture formats. The picture format to the left of the (;) is used to format positive values, and the picture format to the right of the (;) is used to format negative values. % Specifies percentage format. E+ e+ E- e- Specifies scientific notation format. By specifying a (-), only negative numbers are displayed with a sign.
FMT_Prefix_NoSeparationInt32This constant is one of four possible integer format parameter values for a field whose integer format parameter is specified by the constant FMT_Parm_iCurrency. It defines the way in which formats a currency value. If you specify this constant, a number (for example: 1) to be formatted as currency appears as: $1. Value = 0
FMT_Prefix_SeparationInt32This constant is one of four possible integer format parameter values for a field whose integer format parameter is specified by the constant FMT_Parm_iCurrency. It defines the way in which formats a currency value. If you specify this constant, a number (for example: 1) to be formatted as currency appears as: $ 1. Value = 2
FMT_Profile_AustraliaInt32
FMT_Profile_BelgiumInt32
FMT_Profile_BrazilInt32
FMT_Profile_DefaultInt32This constant represents the system default profile maintained in the WIN.INI file. The settings associated with the system default profile determine a field's format. Value = 0
FMT_Profile_DenmarkInt32
FMT_Profile_FinlandInt32
FMT_Profile_FranceInt32
FMT_Profile_GermanyInt32
FMT_Profile_ItalyInt32
FMT_Profile_JapanInt32
FMT_Profile_NetherlandsInt32
FMT_Profile_NorwayInt32
FMT_Profile_ProgramInt32This constant represents a special profile whose settings determine a field's format. It allows an application to individually specify each field's format. Value = -1
FMT_Profile_SpainInt32
FMT_Profile_SwedenInt32
FMT_Profile_SwitzerlandInt32
FMT_Profile_UnitedKingdomInt32
FMT_Profile_USAInt32
FMT_Suffix_NoSeparationInt32This constant is one of four possible integer format parameter values for a field whose integer format parameter is specified by the constant FMT_iCurrency. It defines the way in which formats a currency value. If you specify this constant, a number (for example: 1) to be formatted as currency appears as: 1$. Value = 1
FMT_Suffix_SeparationInt32This constant is one of four possible integer format parameter values for a field whose integer format parameter is specified by the constant FMT_iCurrency. It defines the way in which formats a currency value. If you specify this constant, a number (for example: 1) to be formatted as currency appears as: 1 $. Value = 3
FMT_Time_12HourInt32This constant is one of two possible integer format parameter values for a field whose integer format parameter is specified by the constant FMT_Parm_iTime. It defines a time value to display in the format of a 12 hour clock. Value = 0
FMT_Time_24HourInt32This constant is one of two possible integer format parameter values for a field whose integer format parameter is specified by the constant FMT_Parm_iTime. It defines a time value to display in the format of a 24 hour clock. Value = 1
FMT_Validate_DialogInt32This constant directs to display a dialog box if a format error occurs during a call to Sal.FmtValidateField. Value = 1
FMT_Validate_NoneInt32This constant directs not to display a dialog box if a format error occurs during a call to Sal.FmtValidateField. Instead, the application handles the error. Value = 0
FONT_EnhBoldInt32This is a font enhancement constant which instructs to bold the specified window's text. You can combine FONT_EnhBold with other font enhancement constants using the OR (|) operator. Use this constant with the Sal.FontGet and Sal.FontSet functions. Value = 8
FONT_EnhDefaultInt32This is a font enhancement constant which indicates that the specified window's text should conform to the current default settings. You can combine FONT_EnhDefault with other font enhancement constants using the OR (|) operator. Use this constant with the Sal.FontGet and Sal.FontSet functions. Value = 1
FONT_EnhItalicInt32This is a font enhancement constant which instructs to italicize the specified window's text. You can combine FONT_EnhItalic with other font enhancement constants using the OR (|) operator. Use this constant with the Sal.FontGet and Sal.FontSet functions. Value = 2
FONT_EnhNormalInt32This is a font enhancement constant which indicates that there are no enhancements to add to the text in the specified window. Use this constant with the Sal.FontGet and Sal.FontSet functions. Value = 0
FONT_EnhStrikeOutInt32This is a font enhancement constant which instructs to strike out the specified window's text. You can combine FONT_EnhStrikeOut with other font enhancement constants using the OR (|) operator. Use this constant with the Sal.FontGet and Sal.FontSet functions. Value = 16
FONT_EnhUnderlineInt32This is a font enhancement constant which instructs to underline the specified window's text. You can combine FONT_EnhUnderline with other font enhancement constants using the OR (|) operator. Use this constant with the Sal.FontGet and Sal.FontSet functions. Value = 4
FONT_GetPrinterInt32Use this constant to obtain either a list of available printer fonts or a list of available printer font sizes for a given font. Use this constant with the Sal.FontGetNames and Sal.FontGetSizes functions. Value = 2
FONT_GetScreenInt32Use this constant to obtain either a list of available screen font names or a list of available screen font sizes. Use this constant with the Sal.FontGetNames and Sal.FontGetSizes functions. Value = 1
FORM_nFormHeightInt32This constant represents the integer form parameter for the height of a given form window. It is used by the function Sal.FormGetParmNum. Value = 2
FORM_nFormPagesInt32This constant represents the integer form parameter for the number of pages in a given form window. It is used by the function Sal.FormGetParmNum. Value = 3
FORM_nFormWidthInt32This constant represents the integer form parameter for the width of a given form window. It is used by the function Sal.FormGetParmNum. Value = 1
HELP_ContextInt32The Sal.WinHelp function uses this constant to display context sensitive help on the topic associated with the context identifier number in the nData parameter. Value = 1
HELP_FinderInt32The Sal.WinHelp function uses this constant to bring up the help Find Dialog. Value = 0x000B
HELP_HelpOnHelpInt32The Sal.WinHelp function uses this constant to display information on the Windows Help System itself. Value = 4
HELP_IndexInt32The Sal.WinHelp function uses this constant to display the index of available Help topics. Value = 3
HELP_KeyInt32The Sal.WinHelp function uses this constant to display a list of available Help topics for the keywords specified in the parameter sData. Value = 0x101
HELP_QuitInt32The Sal.WinHelp function uses this constant to quit the Windows Help System that is currently open and in use. Value = 2
HELP_SetIndexInt32The Sal.WinHelp function uses this constant to set the current index for a multi-index help system. Value = 5
hWndFocusSalWindowHandleWindow handle of the currently focused control.
hWndFormSalWindowHandleWindow handle of the current form or dialog.
hWndItemSalWindowHandleWindow handle of the current control.
hWndMDISalWindowHandleWindow handle of the current MDI.
hWndNULLSalWindowHandleUse this to detect if a function that returns a window handle succeeded.
IDABORTInt32This constant is returned by the Sal.MessageBox function when you click on the Abort push button in an Abort/Retry/Ignore message box (MB_AbortRetryIgnore). Value = 3
IDCANCELInt32This constant is returned by the Sal.MessageBox function when you click on the Cancel push button in an OK/Cancel message box (MB_OkCancel), a Retry/Cancel message box (MB_RetryCancel) or a Yes/No/Cancel message box (MB_YesNoCancel). Value = 2
IDIGNOREInt32This constant is returned by the Sal.MessageBox function when you click on the Ignore push button of an Abort/Retry/Ignore message box (MB_AbortRetryIgnore). Value = 5
IDNOInt32This constant is returned by the Sal.MessageBox function when you click on the No push button of a Yes/No message box (MB_YesNo) or a Yes/No/Cancel message box (MB_YesNoCancel). Value = 7
IDOKInt32This constant is returned by the Sal.MessageBox function when you click on the Ok push button of an Ok message box (MB_Ok) or an Ok/Cancel message box (MB_OkCancel). Value = 1
IDRETRYInt32This constant is returned by the Sal.MessageBox function when you click on the Retry push button of a Retry/Cancel message box (MB_RetryCancel) or an Abort/Retry/Ignore message box (MB_AbortRetryIgnore). Value = 4
IDYESInt32This constant is returned by the Sal.MessageBox function when you click on the Yes push button of a Yes/No message box (MB_YesNo) or a Yes/No/Cancel message box (MB_YesNoCancel). Value = 6
LB_ErrInt32This constant is returned by a Sal.List* function call when a user error occurs. It is used by the functions: Sal.ListAdd, Sal.ListDelete, Sal.ListInsert, Sal.ListQueryCount, Sal.ListQueryMultiCount, Sal.ListQuerySelection, Sal.ListQueryText, Sal.ListQueryTextLength, Sal.ListSelectString. Value = -1
LB_ErrSpaceInt32This constant is returned when insufficient memory is available to store a new string in a list box. Use this constant with the Sal.ListAdd and Sal.ListInsert functions. Value = -2
LB_OkInt32LB_Ok is returned by a Sal.List* function that completes successfully. Value = 0
lParamSalNumberThe lParam value used in the last message.
MAX_DefaultDataFieldInt32This constant represents the default length of a data field (100 characters). Value = 100
MAX_DefaultMultilineInt32This constant represents the default length of a multiline text field (1000 characters). Value = 1000
MB_AbortRetryIgnoreInt32This is a Push Button style constant used by the Sal.MessageBox function to define the type of push buttons to display in the message box. Specifying MB_AbortRetryIgnore causes the message box to display three push buttons: Abort, Retry, and Ignore. You can combine a Push Button style constant with a constant from the Icon style, Response Button Handling style, and System style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 2
MB_ApplModalInt32This is a System style constant used by the Sal.MessageBox function to display a dialog box that suspends the application's windows until you respond appropriately. You can combine a System style constant with a constant from the Icon style, Response Button Handling style, and Push Button style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 0
MB_DefButton1Int32This is a Response Button Handling style constant used by the Sal.MessageBox function to specify that the first button (usually Ok) has the focus when the dialog box displays. You can combine a Response Button Handling style constant with a constant from the Icon style, System Options style, and Push Button style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 0
MB_DefButton2Int32This is a Response Button Handling style constant used by the Sal.MessageBox function to specify that the second button has the focus when the dialog box displays. You can combine a Response Button Handling style constant with a constant from the Icon style, System Options style, and Push Button style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 0x100
MB_DefButton3Int32This is a Response Button Handling style constant used by the Sal.MessageBox function to specify that the third button has the focus when the dialog box displays. You can combine a Response Button Handling style constant with a constant from the Icon style, System Options style, and Push Button style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 0x200
MB_IconAsteriskInt32This is an icon style constant used by the Sal.MessageBox function to display an "i" (for information) icon in the message box. You can combine an icon style constant with a constant from the push button style, default button style, and modal style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 64
MB_IconExclamationInt32This is an icon style constant used by the Sal.MessageBox function to display an exclamation point icon in the message box. You can combine an icon style constant with a constant from the push button style, default button style, and modal style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 48
MB_IconHandInt32Supports MB_IconHand for backward compatibility; use MB_IconStop instead.
MB_IconInformationInt32This is an icon style constant used by the Sal.MessageBox function to display an "i" (for information) icon in the message box. You can combine an icon style constant with a constant from the push button style, default button style, and modal style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 64
MB_IconQuestionInt32This is an icon style constant used by the Sal.MessageBox function to display a question mark icon in the message box. You can combine an icon style constant with a constant from the push button style, default button style, and modal style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 32
MB_IconStopInt32This is an icon style constant used by the Sal.MessageBox function to display a stop sign icon in the message box. You can combine an icon style constant with a constant from the push button style, default button style, and modal style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 16
MB_NoFocusInt32The underlying Windows feature for this style is no longer supported by Microsoft. This style does nothing and is provided for backward compatibility only. Value = 0x8000
MB_OkInt32This is a push button style constant used by the Sal.MessageBox function to display an Ok push button in the message box. This is the default assignment. You can combine a push button style constant with a constant from the icon style, default button style, and modal style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 0
MB_OkCancelInt32This is a Push Button style constant used by the Sal.MessageBox function to specify that both an Ok and a Cancel push button display in the message box. You can combine a Push Button style constant with a constant from the Icon style, Response Button Handling style, and System style constant groups (all of which are also named MB_*) using the OR (|) operator. See Sal.MessageBox Options and Sal.MessageBox Returns for more information. Value = 1
MB_RetryCancelInt32This is a Push Button style constant used by the Sal.MessageBox function to specify that both a Retry and a Cancel push button display in the message box. You can combine a Push Button style constant with a constant from the Icon style, Response Button Handling style, and System style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 5
MB_SystemModalInt32This is a System style constant used by the Sal.MessageBox function to display a dialog box that suspends ALL application windows until you respond appropriately. You can combine a System style constant with a constant from the Icon style, Response Button Handling style, and Push Button style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 0x1000
MB_YesNoInt32This is a Push Button style constant used by the Sal.MessageBox function to specify that both a Yes and a No push button display in the message box. You can combine a Push Button style constant with a constant from the Icon style, Response Button Handling style, and System style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 4
MB_YesNoCancelInt32This is a Push Button style constant used by the Sal.MessageBox function to define the type of push buttons to display in the message box. Specifying MB_YesNoCancel causes the message box to display three push buttons: Yes, No, and Cancel. You can combine a Push Button style constant with a constant from the Icon style, Response Button Handling style, and System style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 3
NUMBER_NullSalNumberUse this constant to set a Number to a null value or to check if a Number value is a null. Value = null (the same as \0 in C programming)
OF_AppendInt32This constant instructs to open a file for appending. The file pointer is positioned at the end of the file. You can combine File Open style constants using the bitwise OR (|) operator. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 3
OF_BinaryInt32This constant instructs to open a file in binary mode. Default translations of carriage return/line feed combinations are suppressed. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 0x10000
OF_CreateInt32This constant instructs to create a new file. If one already exists, it is truncated to zero length. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 0x1000
OF_DeleteInt32This constant instructs to delete a file. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 0x200
OF_ExistInt32This constant instructs to open and then close a file. Use it to test if a file exists. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 0x4000
OF_ParseInt32This constant prepares to open a file by parsing the file specifications, but carries out no action. Use it if you need to verify a file specification without actually opening the file. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 0x100
OF_ReadInt32This constant instructs to open a file for reading only. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 0
OF_ReadAppendInt32This constant instructs to open a file for reading and appending of new data. The file pointer is positioned at the end of the file so that you can read/write the opened file. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 4
OF_ReadWriteInt32This constant instructs to open a file for reading and writing. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 2
OF_ReopenInt32Use this constant only with the Sal.FileOpenExt function to instruct to open a file using the name specified in a previous Sal.FileOpen call. You must have previously opened the file with a legitimate file name and used the same file handle. When first opens the file, it stores the full path name internally. The purpose of the OF_Reopen constant is to guarantee that subsequent opens of the file use this fully qualified name, regardless of whether directories and drives have changed since the original Sal.FileOpen. Value = 0x8000
OF_Share_CompatInt32This constant instructs to open a file in compatibility mode. This lets any computer open a file any number of times. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 0
OF_Share_Deny_NoneInt32This constant instructs to open a file without denying other applications read and write access to it. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 64
OF_Share_Deny_ReadInt32This constant instructs to open a file and deny other applications read access to it. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 48
OF_Share_Deny_WriteInt32This constant instructs to open a file, denying other applications write access to it. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 32
OF_Share_ExclusiveInt32This constant instructs to open a file, denying other applications read and write access to it. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 16
OF_TextInt32This constant instructs to open a file in text mode. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 0
OF_UnicodeInt32This constant instructs to open a file in unicode mode. Default translations of carriage return/line feed combinations are suppressed. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions.
OF_UTF16Int32This constant instructs to open a file in UTF16 mode.
OF_UTF7Int32This constant instructs to open a file in UTF7 mode. Default translations of carriage return/line feed combinations are suppressed. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions.
OF_UTF8Int32This constant instructs to open a file in UTF8 mode. Default translations of carriage return/line feed combinations are suppressed. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions.
OF_WriteInt32This constant instructs to open a file for writing only. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 1
PIC_FitBestFitInt32Use this constant with the Sal.PicSetFit function to set the fit for a picture. PIC_FitBestFit causes the image to fit either the width or height of the window. Scaling is proportional and the image is not distorted. Value = 2
PIC_FitScaleInt32Use this constant with the Sal.PicSetFit function to set the fit for a picture. PIC_FitScale scales the image by the percentages specified in nScaleWidth and nScaleHeight. Scaling may not be proportional and the image might be distorted. Value = 3
PIC_FitSizeToFitInt32Use this constant with the Sal.PicSetFit function to set the fit for a picture. PIC_FitSizeToFit stretches or shrinks the image to fit within the picture frame. This is not proportional scaling and might distort the image. Value = 1
PIC_FormatBitmapInt32Use this constant with the Sal.PicSetString, Sal.PicGetString, and Sal.PicSet functions to set the contents of a picture from a string. PIC_FormatBitmap means that the picture is a bitmap. You can also use this constant with Sal.PicSetHandle to set the image in a picture window with the handle of a bitmap. Value = 1
PIC_FormatIconInt32Use this constant with the Sal.PicSetString and Sal.PicSet functions to set the contents of a picture from a string. PIC_FormatIcon means that the picture is an icon. You can also use this constant with Sal.PicSetHandle to set the image in a picture window with the handle of an icon. Value = 2
PIC_FormatObjectInt32Use this constant with the Sal.PicSetString and Sal.PicGetString functions to set the contents of a picture from a string. PIC_FormatObject means that the picture is an OLE object. Value = 3
PIC_ImageTypeBMPInt32Use this constant with the Sal.PicSetImage and Sal.PicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypeBMP means that the picture is a .BMP. Value = 1
PIC_ImageTypeGIFInt32Use this constant with the Sal.PicSetImage and Sal.PicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypeGIF means that the picture type is .GIF. Value = 6
PIC_ImageTypeICONInt32Use this constant with the Sal.PicSetImage function to set the contents of a picture without the CTD image header. PIC_ImageTypeICON means that the picture type is .ICON. Note: This constant is not supported for Sal.PicGetImage. Value = 2
PIC_ImageTypeJPEGInt32Use this constant with the Sal.PicSetImage and Sal.PicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypeJPEG means that the picture type is JPEG. Value = 7
PIC_ImageTypeNoneInt32Use this constant with the Sal.PicSetImage and Sal.PicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypeNone means that the picture has no type. Value = 0
PIC_ImageTypeNuVEQInt32Use this constant with the Sal.PicSetImage and Sal.PicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypeNuVEQ means that the picture type is NuVEQ. Note: This type is supported in Japan. It is also supported if you have an ImageMan license. Value = 8
PIC_ImageTypePCXInt32Use this constant with the Sal.PicSetImage and Sal.PicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypePCX means that the picture type is .PCX. Value = 5
PIC_ImageTypeTIFFInt32Use this constant with the Sal.PicSetImage and Sal.PicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypeTIFF means that the picture type is .TIFF. Value = 4
PIC_ImageTypeWMFInt32Use this constant with the Sal.PicSetImage and Sal.PicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypeWMF means that the picture type is .WMF. Value = 3
PLATFORM_CurrentInt32An application interrogates its runtime environment to determine whether it is running on Microsoft Windows. An application may want to check the value of PLATFORM_Current if it has code paths that it will or will not execute depending on the operating system it is running on.
PLATFORM_SolarisInt32This constant identifies the operating system on which an application is running as SunSoft's Solaris. Value = 1
PLATFORM_WindowsInt32This constant identifies the operating system on which an application is running as Microsoft Windows. Value = 0
PRT_nCopyCountInt32Use this constant to get and set the number of copies to print. The default setting is 1. Use this constant with the Sal.PrtGetParmNum, Sal.PrtSetParmNum, and Sal.PrtSetParmDefaults functions. Value = 3
PRT_nDraftModeInt32Use this constant to get and set the print mode to either Draft or Proof. Draft mode prints faster than Proof mode, but with lower resolution. The default setting is Draft. Use this constant with the Sal.PrtGetParmNum, Sal.PrtSetParmNum, and Sal.PrtSetParmDefaults functions. Value = 1
PRT_nFromPageInt32This constant gets and sets the first page to print. The default starting page number is 1. Use this constant with the Sal.PrtGetParmNum, Sal.PrtSetParmNum, and Sal.PrtSetParmDefaults functions. Value = 7
PRT_nMarginLeftInt32This constant gets and sets the left margin. The default left margin is 0. Use this constant with the Sal.PrtGetParmNum, Sal.PrtSetParmNum, and Sal.PrtSetParmDefaults functions. Value = 4
PRT_nMarginTopInt32This constant gets and sets the top margin. The default left margin is 0. Use this constant with the Sal.PrtGetParmNum, Sal.PrtSetParmNum, and Sal.PrtSetParmDefaults functions. Value = 5
PRT_nPrintAllInt32Use this constant to determine or specify whether all pages of a form are to print. It overrides PRT_nFromPage and PRT_nToPage settings. Use this constant with the Sal.PrtGetParmNum, Sal.PrtSetParmNum, and Sal.PrtSetParmDefaults functions. Value = 6
PRT_nShowFormPageRectInt32Use this constant to determine or specify whether a rectangle is drawn around the printed form using the form size. The default setting for this constant is FALSE. Use this constant with the Sal.PrtGetParmNum, Sal.PrtSetParmNum, and Sal.PrtSetParmDefaults functions. Value = 9
PRT_nToPageInt32This constant gets and sets the last page to print. The default ending page number is 1. Use this constant with the Sal.PrtGetParmNum, Sal.PrtSetParmNum, and Sal.PrtSetParmDefaults functions. Value = 8
ROW_EditedInt32This flag indicates that a row was edited. ROW_Edited is returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: Sal.TblAnyRows, Sal.TblCopyRows, Sal.TblFindNextRow, Sal.TblFindPrevRow, SalTblQueryRowFlags, Sal.TblSetFlagsAnyRows, Sal.TblSetRowFlags. Value = 4
ROW_HiddenInt32This flag indicates that a row is hidden from view. ROW_Hidden is returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: Sal.TblAnyRows, Sal.TblCopyRows, Sal.TblFindNextRow, Sal.TblFindPrevRow, Sal.TblQueryRowFlags, Sal.TblSetFlagsAnyRows, Sal.TblSetRowFlags. Value = 0x2000
ROW_HideMarksInt32This flag indicates that the row's editing marks (in the row header) are hidden from view. ROW_HideMarks is returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: Sal.TblAnyRows, Sal.TblCopyRows, Sal.TblFindNextRow, Sal.TblFindPrevRow, Sal.TblQueryRowFlags, Sal.TblSetFlagsAnyRows, Sal.TblSetRowFlags. Value = 64
ROW_MarkDeletedInt32This flag indicates that the row is marked for deletion. ROW_MarkDeleted is returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: Sal.TblAnyRows, Sal.TblCopyRows, Sal.TblFindNextRow, Sal.TblFindPrevRow, Sal.TblQueryRowFlags, Sal.TblSetFlagsAnyRows, Sal.TblSetRowFlags. Value = 32
ROW_NewInt32This flag indicates that the row has been newly inserted. ROW_New is returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: Sal.TblAnyRows, Sal.TblCopyRows, Sal.TblFindNextRow, Sal.TblFindPrevRow, Sal.TblQueryRowFlags, Sal.TblSetFlagsAnyRows, Sal.TblSetRowFlags. Value = 8
ROW_SelectedInt32This flag indicates that the row is selected. ROW_Selected is returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: Sal.TblAnyRows, Sal.TblCopyRows, Sal.TblFindNextRow, Sal.TblFindPrevRow, Sal.TblQueryRowFlags, Sal.TblSetFlagsAnyRows, Sal.TblSetRowFlags. Value = 2
ROW_UnusedFlag1Int32This flag is available for your application to use. ROW_UnusedFlag1 can be returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: Sal.TblAnyRows, Sal.TblCopyRows, Sal.TblFindNextRow, Sal.TblFindPrevRow, Sal.TblQueryRowFlags, Sal.TblSetFlagsAnyRows, Sal.TblSetRowFlags. Value = 0x80
ROW_UnusedFlag2Int32This flag is available for your application to use. ROW_UnusedFlag2 can be returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: Sal.TblAnyRows, Sal.TblCopyRows, Sal.TblFindNextRow, Sal.TblFindPrevRow, Sal.TblQueryRowFlags, Sal.TblSetFlagsAnyRows, Sal.TblSetRowFlags. Value = 0x100
RPT_BeforeBreakFooter1Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formated. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 14
RPT_BeforeBreakFooter2Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formated. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 15
RPT_BeforeBreakFooter3Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 16
RPT_BeforeBreakFooter4Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 17
RPT_BeforeBreakFooter5Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 18
RPT_BeforeBreakFooter6Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 19
RPT_BeforeBreakFooter7Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 20
RPT_BeforeBreakFooter8Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 21
RPT_BeforeBreakHeader1Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 6
RPT_BeforeBreakHeader2Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 7
RPT_BeforeBreakHeader3Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 8
RPT_BeforeBreakHeader4Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 9
RPT_BeforeBreakHeader5Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 10
RPT_BeforeBreakHeader6Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 11
RPT_BeforeBreakHeader7Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 12
RPT_BeforeBreakHeader8Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 13
RPT_BeforeDetailInt32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be processed. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeDetail indicates it is ready to process the detail block. Value = 5
RPT_BeforePageFooterInt32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message when a part of a report is ready to be processed. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforePageFooter indicates that it is ready to process the bottom of a page. Value = 2
RPT_BeforePageHeaderInt32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message when a part of a report is ready to be processed. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforePageHeader indicates that it is ready to process the top of a page. Value = 1
RPT_BeforeReportFooterInt32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message when a part of a report is ready to be processed. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforePageHeader indicates that it is ready to process the top of a page. Value = 4
RPT_BeforeReportHeaderInt32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message when a part of a report is ready to be processed. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforePageHeader indicates that it is ready to process the top of a page. Value = 3
RPT_CmdFirstPageInt32Use this constant with the Sal.ReportCmd function to display the first page of a report. Value = 1
RPT_CmdGoToPageInt32Use this constant with the Sal.ReportCmd function to display a dialog box where the user can enter the page number in the report to scroll to. Value = 9
RPT_CmdLastPageInt32Use this constant with the Sal.ReportCmd function to display the last page of a report. Value = 2
RPT_CmdNextPageInt32Use this constant with the Sal.ReportCmd function to display the next page of a report. Value = 3
RPT_CmdPrevPageInt32Use this constant with the Sal.ReportCmd function to display the previous page of a report. Value = 8
RPT_CmdPrintInt32Use this constant with the Sal.ReportCmd function to print the report. Value = 4
RPT_CmdPrinterSetupInt32Use this constant with the Sal.ReportCmd function to display the Printer Setup dialog box where the user can change the print settings. Value = 7
RPT_CmdSizeActualInt32Use this constant with the Sal.ReportCmd function to display a report in its true size in the report window. The user may need to scroll the window horizontally or vertically to see the entire report. Value = 6
RPT_CmdSizeFitInt32Use this constant with the Sal.ReportCmd function fit the report within the report window. This is useful when you want to view the general format of a report as it appears when printed. Value = 5
RPT_DoneBreakFooter1Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 56
RPT_DoneBreakFooter2Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 57
RPT_DoneBreakFooter3Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 58
RPT_DoneBreakFooter4Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 59
RPT_DoneBreakFooter5Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 60
RPT_DoneBreakFooter6Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 61
RPT_DoneBreakFooter7Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 62
RPT_DoneBreakFooter8Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 63
RPT_DoneBreakHeader1Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 48
RPT_DoneBreakHeader2Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 49
RPT_DoneBreakHeader3Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 50
RPT_DoneBreakHeader4Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 51
RPT_DoneBreakHeader5Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 52
RPT_DoneBreakHeader6Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 53
RPT_DoneBreakHeader7Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 54
RPT_DoneBreakHeader8Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 55
RPT_DoneDetailInt32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneDetail indicates that the detail block has just been processed. Value = 47
RPT_DonePageFooterInt32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DonePageFooter indicates that it has just processed the bottom of a page. Value = 44
RPT_DonePageHeaderInt32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DonePageHeader indicates that it has just processed the top of a page. Value = 43
RPT_DoneReportFooterInt32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneReportFooter indicates that it has processed the end of the report. Value = 46
RPT_DoneReportHeaderInt32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneReportHeader indicates that it has completed processing the beginning of the report. Value = 45
RPT_EnableCancelInt32Use this constant to enable the cancel button in the report preview panel. It should be specified in the nFlags parameter of Sal.ReportView function.
RPT_ErrBindInt32RPT_ErrBind means that a bind error occurred. Returned by the functions: Sal.ReportCreate, Sal.ReportPrint, Sal.ReportPrintToFile, Sal.ReportView, Sal.ReportTableCreate, Sal.ReportTablePrint, Sal.ReportTableView. Value = 3
RPT_ErrCountInt32RPT_ErrCount means that a report function provided the wrong number of bind/input variables. Returned by the functions: Sal.ReportCreate, Sal.ReportPrint, Sal.ReportPrintToFile, Sal.ReportView, Sal.ReportTableCreate, Sal.ReportTablePrint, Sal.ReportTableView. Value = 9
RPT_ErrFilenameLengthInt32RPT_ErrFilenameLength means that the specified report file name was too long. Returned by the functions: Sal.ReportCreate, Sal.ReportPrint, Sal.ReportPrintToFile, Sal.ReportView, Sal.ReportTableCreate, Sal.ReportTablePrint, Sal.ReportTableView. Value = 4
RPT_ErrFileOpenInt32RPT_ErrFileOpen means that a report function was unable to open the specified report file. Returned by the functions: Sal.ReportCreate, Sal.ReportPrint, Sal.ReportPrintToFile, Sal.ReportView, Sal.ReportTableCreate, Sal.ReportTablePrint, Sal.ReportTableView. Value = 5
RPT_ErrInputInt32RPT_ErrInput means that a mismatch occurred between the input variable and the associated bind variable. Returned by the functions: Sal.ReportCreate, Sal.ReportPrint, Sal.ReportPrintToFile, Sal.ReportView, Sal.ReportTableCreate, Sal.ReportTablePrint, Sal.ReportTableView. Value = 10
RPT_ErrLoadDLLInt32RPT_ErrLoadDLL means that a report function was unable to load the required DLLs. Returned by the functions: Sal.ReportCreate, Sal.ReportPrint, Sal.ReportPrintToFile, Sal.ReportView, Sal.ReportTableCreate, Sal.ReportTablePrint, Sal.ReportTableView. Value = 1
RPT_ErrMaxRptsInt32RPT_ErrMaxRpts means that the maximum number of reports was exceeded. Maximum number of reports = 10. Returned by the functions: Sal.ReportCreate, Sal.ReportPrint, Sal.ReportPrintToFile, Sal.ReportView, Sal.ReportTableCreate, Sal.ReportTablePrint, Sal.ReportTableView. Value = 2
RPT_ErrPrtOpenInt32RPT_ErrPrtOpen means that a report function was unable to open the printer. Returned by the functions: Sal.ReportCreate, Sal.ReportPrint, Sal.ReportPrintToFile, Sal.ReportView, Sal.ReportTableCreate, Sal.ReportTablePrint, Sal.ReportTableView. Value = 8
RPT_ErrRptOpenInt32RPT_ErrRptOpen means that a report function was unable to open the specified report for printing. Returned by the functions: Sal.ReportCreate, Sal.ReportPrint, Sal.ReportPrintToFile, Sal.ReportView, Sal.ReportTableCreate, Sal.ReportTablePrint, Sal.ReportTableView. Value = 7
RPT_ErrRptWindowInt32RPT_ErrRptWindow means that a report function was unable to open the report window. Returned by the functions: Sal.ReportCreate, Sal.ReportPrint, Sal.ReportPrintToFile, Sal.ReportView, Sal.ReportTableCreate, Sal.ReportTablePrint, Sal.ReportTableView. Value = 6
RPT_ErrTypeInt32RPT_ErrType means that the data type of an input variable did not match the data type of the associated bind variable. Returned by the functions: Sal.ReportCreate, Sal.ReportPrint, Sal.ReportPrintToFile, Sal.ReportView, Sal.ReportTableCreate, Sal.ReportTablePrint, Sal.ReportTableView Value = 11
RPT_LandscapeInt32
RPT_NoPrintInt32You can turn off the printer icon on the default report view toolbar by specifying this flag in the nFlags parameter of the Sal.ReportView function: RPT_NoPrint No print button on the toolbar
RPT_NoToolbarInt32You can turn off the toolbar in report view by specifying this flag in the nFlags parameter of the Sal.ReportView function: RPT_NoToolbar No toolbar in the preview window
RPT_OutputBreakFooter1Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_OutputBreakFooter1 through RPT_OutputBreakFooter8 are after a report's detail block. Value = 35
RPT_OutputBreakFooter2Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_OutputBreakFooter1 through RPT_OutputBreakFooter8 are after a report's detail block. Value = 36
RPT_OutputBreakFooter3Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_OutputBreakFooter1 through RPT_OutputBreakFooter8 are after a report's detail block. Value = 37
RPT_OutputBreakFooter4Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_OutputBreakFooter1 through RPT_OutputBreakFooter8 are after a report's detail block. Value = 38
RPT_OutputBreakFooter5Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_OutputBreakFooter1 through RPT_OutputBreakFooter8 are after a report's detail block. Value = 39
RPT_OutputBreakFooter6Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_OutputBreakFooter1 through RPT_OutputBreakFooter8 are after a report's detail block. Value = 40
RPT_OutputBreakFooter7Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_OutputBreakFooter1 through RPT_OutputBreakFooter8 are after a report's detail block. Value = 41
RPT_OutputBreakFooter8Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_OutputBreakFooter1 through RPT_OutputBreakFooter8 are after a report's detail block. Value = 42
RPT_OutputBreakHeader1Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_OutputBreakHeader1 through RPT_OutputBreakHeader8 are before a report's detail block. Value = 27
RPT_OutputBreakHeader2Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_OutputBreakHeader1 through RPT_OutputBreakHeader8 are before a report's detail block. Value = 28
RPT_OutputBreakHeader3Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_OutputBreakHeader1 through RPT_OutputBreakHeader8 are before a report's detail block. Value = 29
RPT_OutputBreakHeader4Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_OutputBreakHeader1 through RPT_OutputBreakHeader8 are before a report's detail block. Value = 30
RPT_OutputBreakHeader5Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_OutputBreakHeader1 through RPT_OutputBreakHeader8 are before a report's detail block. Value = 31
RPT_OutputBreakHeader6Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_OutputBreakHeader1 through RPT_OutputBreakHeader8 are before a report's detail block. Value = 32
RPT_OutputBreakHeader7Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_OutputBreakHeader1 through RPT_OutputBreakHeader8 are before a report's detail block. Value = 33
RPT_OutputBreakHeader8Int32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_OutputBreakHeader1 through RPT_OutputBreakHeader8 are before a report's detail block. Value = 34
RPT_OutputDetailInt32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_OutputDetail indicates that itlder is ready to process the detail block. Value = 26
RPT_OutputPageFooterInt32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_OutputPageFooter indicates that it is ready to process the bottom of a page. Value = 23
RPT_OutputPageHeaderInt32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_OutputPageHeader indicates that it is ready to process the top of a page. Value = 22
RPT_OutputReportFooterInt32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_OutputPageHeader indicates that it is ready to process the end of the report. Value = 25
RPT_OutputReportHeaderInt32Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_OutputPageHeader indicates that it is ready to process the beginning of the report. Value = 24
RPT_PaperA3Int32
RPT_PaperA4Int32
RPT_PaperA5Int32
RPT_PaperB5Int32
RPT_PaperCustomInt32
RPT_PaperLegalInt32
RPT_PaperLetterInt32Sal.ReportSetPrinterSettings constants
RPT_PaperTabloidInt32
RPT_PortraitInt32
RPT_PrintAllInt32Use this constant with the Sal.ReportPrint function or the Sal.ReportPrintToFile function to print all pages of a report. Value = 0
RPT_PrintDraftInt32Use this constant with the Sal.ReportPrint function or the Sal.ReportPrintToFile function to print a report in draft mode. Value = 2
RPT_PrintEmptyReportInt32Use this constant to print reports with empty data sets. This option adds one empty row to the data set passed to the reporting engine.
RPT_PrintNoAbortInt32Use this constant with the Sal.ReportPrint function or the Sal.ReportPrintToFile function so that does not display the dialog box that lets the user cancel the report. Value = 4
RPT_PrintNoErrorsInt32Use this constant with the Sal.ReportPrint function or the Sal.ReportPrintToFile function to suppress error message dialog boxes during printing. Value = 16
RPT_PrintNoWarnInt32Use this constant with the Sal.ReportPrint function or the Sal.ReportPrintToFile function to suppress warnings about margin overflow and tiled pages. Value = 8
RPT_PrintNullStringsAsDefaultValuesInt32Use this constant to pass NULL strings as strings with length 0
RPT_PrintParamCopiesInt32Use this flag with the Sal.ReportTablePrint function to specify the number of copies to print. Value = 3
RPT_PrintParamFirstPageInt32Use this flag with the Sal.ReportTablePrint function to specify the first page to print. Value = 1
RPT_PrintParamLastPageInt32Use this flag with the Sal.ReportTablePrint function to specify the last page to print. Value = 2
RPT_PrintParamOptionsInt32Use this flag with the Sal.ReportTablePrint function to specify report options: RPT_PrintAll, RPT_PrintDraft, RPT_PrintNoAbort, RPT_PrintNoErrors, RPT_PrintNoWarn, or RPT_PrintRange. Value = 0
RPT_PrintRangeInt32Use this constant with the Sal.ReportPrint function or the Sal.ReportPrintToFile function to print a range of pages. You must also set the values of the first (nFirstPage) and last (nLastPage) pages of the report. Value = 1
RPT_PrintTableHiddenColumnsInt32Use this constant to include hidden columns when printing table windows
RPT_ProcessOnServerInt32Use this constant to print or save the report on the server instead of returning it to the client.
SAL_ARRAYInt32
SAL_BOOLEANInt32
SAL_DATEInt32
SAL_NOTYPEInt32
SAL_NUMBERInt32
SAL_OBJECTInt32
SAL_STRINGInt32
SAL_VARIANTInt32COM to SAL type mapping
SAM_ActivateInt32SAM_Activate is sent to top-level and MDI windows when the window is activated or deactivated. The wParam indicates whether the window is being activated or deactivated. Message Variables hWndForm Handle of top-level window. hWndItem Object handle. wParam Whether the window is being activated or deactivated: TRUE = Activated FALSE = Deactivated lParam Unused.
SAM_AnyEditInt32SAM_AnyEdit is sent to a combo box, data field, multiline text field, or table window column whenever you make a change to that object's value. The object receives a SAM_AnyEdit message on every key stroke. By processing SAM_AnyEdit messages, an application can check an object's value as it changes. Message Variables For a data field, combo box, or multiline text field: hWndForm Window handle of the parent window. hWndItem Window handle of the object. wParam Unused. lParam Unused. For a table window column: hWndForm Window handle of the table window. hWndItem Window handle of the column. wParam Unused. lParam Row number of the table window.
SAM_AppExitInt32SAM_AppExit is sent to an application after all of the application's windows have been destroyed (closed). When the user exits an application or switches from user mode to design mode, an application's form windows, dialog boxes, and table windows are destroyed. Following this, SAM_AppExit is sent to the application. You can perform clean-up tasks (such as disconnecting from a database) before the application terminates. This is the last message an application receives and it is only sent to the Application Actions section of the outline. Be sure not to reference any windows in your statements when processing this message! Message Variables hWndForm None. hWndItem None. wParam None. lParam None.
SAM_AppStartupInt32SAM_AppStartup is sent to an application before any of the application's windows have been created, including those which are automatically created at run time. You can process SAM_AppStartup and perform initialization tasks such as displaying a login dialog box that authorizes access to a database. This is the first message an application receives and it is sent only to the Application Actions section of the outline. Message Variables hWndForm None. hWndItem None. wParam None. lParam None.
SAM_CacheFullInt32SAM_CacheFull is sent to a table window when needs to fetch a row from the data source but the table window cache is full and none of its rows qualify as discardable. If the table window has a non-discardable cache, SAM_CacheFull indicates that no more data can fit in the table window cache. If the table window has a discardable cache, SAM_CacheFull indicates that the cache is full of data that you modified and must now save. Once you save the modified rows, they qualify as discardable. Message Variables hWndForm Handle of the table window. hWndItem None. wParam Unused. lParam Unused.
SAM_CaptionDoubleClickInt32SAM_CaptionDoubleClick is sent to a table window and a table window column when you double click on a table window column title. To retrieve the table window column's window handle in wParam, use Sal.NumberToWindowHandle. Message Variables hWndForm Handle of the table window. hWndItem Table window handle in table window message actions, column handle in column message actions. wParam Handle of the column. lParam Unused.
SAM_ClickInt32In general, SAM_Click alerts an application that the user has clicked an object with the left mouse button. SAM_Click is sent to a check box or push button when you click either of these objects or perform a keyboard activity that simulates a mouse click. SAM_Click is sent to a currently-unselected radio button when you click it or perform a keyboard activity that simulates a mouse click. If the radio button you click on is already selected, no SAM_Click is sent. SAM_Click is sent to a list box when you click an entry or perform a keyboard activity that simulates a mouse click. If you click an empty list box or click a portion of the list box that contains no entries, no SAM_Click is sent. SAM_Click is sent to a combo box when you click an entry in the drop-down list box or perform a keyboard activity that simulates a mouse click. If you click the data field portion of the combo box or the button that invokes the drop-down list box, no SAM_Click is sent. SAM_Click is sent to a table window and the column with the focus when you click a table window cell or perform a keyboard activity that simulates a mouse click.
SAM_CloseInt32SAM_Close is sent to a dialog box, a form window, MDI window, or a top-level table window when you choose the Close command from a window's system menu or when you double-click on the window's system menu. SAM_Close is sent to an application to notify the application that you are attempting to close a window. By processing the SAM_Close message, an application can check the form window or table window to see if there is data that needs to be saved to the data source. A SAM_Close message is not sent on a call to Sal.Quit, Sal.EndDialog, or Sal.DestroyWindow. If SAM_Close is sent to the Message Actions section of a modal or system modal dialog box, the application can call Sal.MessageBox to prevent the destruction of the dialog box. Otherwise, default processing closes the message box. If SAM_Close does not execute a return, the window closes; if SAM_Close returns FALSE, the window does not close. Message Variables hWndForm Window Handle of the current top-level window. hWndItem Unused. wParam Unused. lParam Unused.
SAM_ColumnSelectClickInt32SAM_ColumnSelectClick is sent to a table window, and a table window column when the user selects or deselects a column by clicking on the column title. You must set TBL_Flag_SelectableCols to TRUE by calling Sal.TblSetTableFlags (it is FALSE by default). To retrieve the window handle of the column in wParam, use Sal.NumberToWindowHandle. Message Variables hWndForm Window handle of the table window. hWndItem Table window handle in table window message actions, column handle in column message actions. wParam Column handle. lParam Unused.
SAM_ContextMenuInt32SAM_ContextMenu is sent when the user right-clicks a window or presses Shift+F10.
SAM_CornerClickInt32SAM_CornerClick is sent to a table window, and a table window column when you click on the title of a row header. The row header is a non-editable column on the left side of a table window. To retrieve the window handle of the column in wParam use Sal.NumberToWindowHandle. Message Variables hWndForm Window handle of the table window. hWndItem Window handle of the column. wParam Numeric value of the window handle of the column. lParam The context row of the table window.
SAM_CornerDoubleClickInt32SAM_CornerDoubleClick is sent to a table window, and a table window column when you double click on the title of a row header. The row header is a non-editable column on the left side of a table window To retrieve the window handle of the column in wParam, use Sal.NumberToWindowHandle. Message Variables hWndForm Window handle of the table window. hWndItem Window handle of the table window. wParam Numeric value of the window handle of the column. lParam The context row of the table window.
SAM_CountRowsInt32SAM_CountRows is sent to a table window that has a dynamic scroll range. Use it to query an application for the number of rows in a table window. The user scrolls to the last row in a table window (by pressing a key such as the End key). Applications process the SAM_CountRows message by returning the number of rows in the table window. Typically, this involves counting the number of rows in a result set. If an application does not process the SAM_CountRows message, SAM_FetchRow messages are used to determine the last row in a table window, namely with a TBL_NoMoreRows return from the message. Processing SAM_CountRows, however, yields better performance. Message Variables hWndForm Handle of the table window. hWndItem Handle of the table window. wParam Unused. lParam Unused. Return The number of rows in the table.
SAM_CreateInt32SAM_Create is sent to a top-level window (dialog box, form window, or table window) and then to all of its children after they are created, but before they are made visible. It is also sent to an MDI window. For example, follow these steps to create a form window that has data fields: 1. Create the form window. 2. Create each of its data fields. After creates all the windows, but before making them visible, sends SAM_Create to the objects in this order: 1. The form window. 2. Each of the form's data fields. After sends the SAM_Create messages, makes the form window and data fields visible. By processing the SAM_Create message, an application can perform initialization tasks. Typical initialization tasks include setting data field values and populating table windows and list boxes with data from a database. Message Variables hWndForm Window handle of current top-level window. hWndItem Handle of the object being created. wParam Unused. lParam Unused.
SAM_CreateCompleteInt32Sends SAM_CreateComplete to windows with contents (top-level windows and child table windows) after creating the window's children and displaying the window (and its children). For example, suppose you create a form window with a data field and a child table window. The child table window has one column. The following happens: 1. The form window is created. 2. The data field is created. 3. The child table window is created. 4. The child table window's column is created. Once all this is done, sends a SAM_Create message to the top-level window and all of its children. Next, makes the form window and its children visible. Finally, sends a SAM_CreateComplete message to the child table window, and then to the form window (the top-level window). By processing the SAM_CreateComplete message, you can do initialization tasks that depend on the state or contents of child windows. You can also use SAM_CreateComplete to wait to do initialization tasks until after a top-level window (and its children) has become visible. Message Variables hWndForm Window Handle of current top-level window. hWndItem Handle of the object being created. wParam Unused. lParam Unused.
SAM_CustControlCmdInt32Sends this message to a custom control when its parent window receives a notification (WM_COMMAND) from the custom control. Ignores any value that you Return when you process this message. Message Variables hWndForm Window handle of current top-level window. hWndItem Window handle of custom control. wParam Notification message number. lParam Unused.
SAM_DDE_ClientExecuteInt32SAM_DDE_ClientExecute is sent to all objects in a server application. The event that causes it is a DDE client sent a command string. A server listens for command requests from clients by processing SAM_DDE_ClientExecute. The server gets the command string that the client sent by calling Sal.DDEGetExecuteString. The parameter for Sal.DDEGetExecuteString is the lParam of the SAM_DDE_ClientExecute message, which points to the command string. After calling Sal.DDEGetExecuteString, the server can parse the command string to determine the action to perform. The server can send data or some other response to the client by calling Sal.DDESendToClient. The wParam for the SAM_DDE_ClientExecute message contains the window handle of the client. The server uses wParam in the third parameter of Sal.DDESendToClient to send the data or response back to the same client. Message Variables hWndForm Handle of a top-level window. hWndItem Object handle. wParam Window handle of sender. lParam Command string.
SAM_DDE_ClientRequestInt32SAM_DDE_ClientRequest is sent to a server application as the result of a client application's request for updated data. A server listens for requests from clients by processing the SAM_DDE_ClientRequest message. A server sends data to a client by calling Sal.DDESendToClient. The wParam for the SAM_DDE_ClientRequest message contains the window handle of the client. The server uses wParam in a Sal.DDESendToClient parameter to send the data back to the same client. Message Variables hWndForm Handle of a top-level window. hWndItem Object handle. wParam Window handle of the sender. lParam Unused.
SAM_DDE_DataChangeInt32SAM_DDE_DataChange is sent to all objects in a DDE client application. It is sent when a DDE server has sent data to the client. When a DDE server sends an item to the client, the data appears automatically in the window that the client specified in Sal.DDEStartSession. The client application does not need to perform any action to receive the data. However, if the client application wants to know when the server sends an item, it can process the SAM_DDE_DataChange message. Note that SAM_DDE_DataChange is sent after the server sends the data to the client. Message Variables hWndForm Handle of a top-level window. hWndItem Object handle. wParam Unused. lParam Unused.
SAM_DestroyInt32SAM_Destroy is sent to a top-level window (dialog box, form window, or table window) and then to all of its children just before the windows are destroyed. SAM_Destroy messages are sent after SAM_Close has been sent to the top-level window. For example, if a form window has data fields, sends the messages to the objects in this order: SAM_Close to the form window. SAM_Destroy to the form window. SAM_Destroy to each of the form window's child windows. After all of the SAM_Destroy messages are sent, the top-level and child windows are destroyed. It is also sent to an MDI window. sends SAM_Destroy to an MDI window and its children in this order: MDI window Form window or table window Form window or table window children and grandchildren (columns) Form window or table window toolbar children and grandchildren MDI window toolbar children and grandchildren Message Variables hWndForm Window handle of current top-level window. hWndItem Window handle of object being destroyed. wParam Unused. lParam Unused.
SAM_DockInt32SAM_Dock is sent to a docking host (top-level window) when a docking dialog is about to change its docking orientation.
SAM_DockChangeInt32SAM_DockChange is sent to a docking dialog box after it has changed its docking orientation.
SAM_DoubleClickInt32SAM_DoubleClick is sent to a combo box, list box, picture, table window, or a column when you double-click on one of these objects. When the user double-clicks a row in a table window or list box, sends the messages in this order: 1. Two SAM_Click messages. 2. SAM_DoubleClick to the table window column or list box. 3. SAM_DoubleClick to the table window. A double-click can select a row in a list box or table window and then start an action for that row. For example, a list box can contain a list of file names. When the user double-clicks a name in the list box, the application opens the file. SAM_DoubleClick is only sent to a combo box if Always Show List is set to Yes. Message Variables For a combo box or list box: hWndForm Handle of form window or dialog box. hWndItem Window handle of the combo box or list box. wParam Unused. lParam Unused. For a picture: hWndForm Handle of form window or dialog box. hWndItem Window handle of the picture. wParam The X coordinates in the picture at the point where the user double-clicked. lParam The Y coordinates in the picture at the point where the user double-clicked. For a table window: hWndForm Window handle of the table window. hWndItem Window handle of the column. wParam Unused. lParam Row number in the table window. For a column: hWndForm Window handle of the table window. hWndItem Window handle of the column. wParam Unused. lParam RowNumber in the table window.
SAM_DragCanAutoStartInt32SAM_DragCanAutoStart is sent to a top-level window, child table window, data field, multiline field, list box, combo box, and picture. Sends this message to ask a window whether it wants auto dragging. Return TRUE to enable auto dragging. If you do not process this message or you return FALSE, then does not enable auto dragging. Starts drag mode automatically when the application returns TRUE from SAM_DragCanAutoStart. This is the minimum that an application does to let a user drag from a window. However, you must write additional code to do something when the user drops in a window. Message Variables hWndForm Handle of top-level window. hWndItem Window handle of the source window. wParam Position of the mouse on the X axis. lParam Position of the mouse on the Y axis.
SAM_DragDropInt32Sent to a top-level window, child table window, data field, multiline field, list box, combo box, and picture. Sent when the user drops the mouse on a target window. Message Variables hWndForm Handle of top-level window. hWndItem Handle of object receiving message. wParam Window handle of the source window. lParam Unused.
SAM_DragEndInt32Sent to a top-level window, child table window, data field, multiline field, list box, combo box, and picture, indicating that drag mode has ended. Message Variables hWndForm Handle of top-level window. hWndItem Handle of object receiving message. wParam Unused. lParam Unused.
SAM_DragEnterInt32Sent to a top-level window, child table window, data field, multiline field, list box, combo box, and picture, indicating that the mouse has moved into the window while in drag mode. Message Variables hWndForm Handle of top-level window. hWndItem Handle of object receiving message. wParam Window handle of the source window. lParam Unused.
SAM_DragExitInt32Sent to a top-level window, child table window, data field, multiline field, list box, combo box, and picture, indicating that the mouse has moved off of the window while in drag mode. Message Variables hWndForm Handle of top-level window. hWndItem Handle of object receiving message. wParam Window handle of the source window. lParam Unused.
SAM_DragMoveInt32Sent to a top-level window, child table window, data field, multiline field, list box, combo box, and picture, indicating that the mouse has moved onto the window while in drag mode. Message Variables hWndForm Handle of top-level window. hWndItem Handle of object receiving message. wParam Window handle of the source window. lParam Unused.
SAM_DragNotifyInt32Sent to a top-level window, child table window, data field, multiline field, list box, combo box, and picture, indicating that a mouse action occurred while in drag mode. Message Variables hWndForm Handle of top-level window. hWndItem Handle of object receiving message. wParam Window handle of the target window. lParam One of the following messages: SAM_DragDrop - The user moved the mouse into a target window. SAM_DragEnter - The user dropped the mouse in a target window. SAM_DragExit - The user moved the mouse out of the target window. SAM_DragMove - The user moved the mouse within a target window.
SAM_DragStartInt32Sent to a top-level window, child table window, data field, multiline field, list box, combo box, and picture, indicating that drag mode has started. Message Variables hWndForm Handle of top-level window. hWndItem Handle of object receiving message. wParam The position of the mouse on the X axis. lParam The position of the mouse on the Y axis.
SAM_DropDownInt32SAM_DropDown is sent to a combo box before the list box portion of the combo box drops down. This message does not occur unless the Drop Down item is set to Yes. Message Variables hWndForm Window handle of the form window or dialog box. hWndItem Window handle of the combo box. wParam Unused. lParam Unused.
SAM_DropFilesInt32Sent to a column, data field, multiline field, list box, combo box, picture, custom control. Only sends this message to windows that have enabled file dropping. It is sent when the user drops a file or files from Explorer or File Manager on the object. Call the Sal.DropFilesQueryFiles function to get the names of the files dropped on the object. Sal.DropFilesQueryFiles returns the number of files that were dropped or 0 if the function fails. You can only call Sal.DropFilesQueryFiles during SAM_DropFiles message processing. Call the Sal.DropFilesQueryPoint function to get the location of the mouse in the window where the user dropped the file or files. By default, file dropping is enabled for editable picture objects. To avoid this default processing, execute a Return statement in the SAM_DropFiles message processing for a picture object and do not perform any other processing. For example, when a user drops on a picture, you can call Sal.DropFilesQueryFiles or Sal.DropFilesQueryPoint in the SAM_DropFiles message processing and decide whether to process what the user is dropping or to ignore it by executing a Return statement with no other processing. You can completely disable file dropping for an editable picture by calling the Sal.DropFilesAccecptFiles function. The default for editable picture windows is TRUE. The default for all other window types is FALSE. Message Variables hWndForm Handle of top-level window. hWndItem Handle of the object receiving the message. wParam Unused. lParam Unused.
SAM_EndCellTabInt32Sends this message to a table window when the user tries to tab past the last editable cell. You can use this message to automate row insertion. When the window receives this message, add a blank row to the window. By default, this message returns FALSE, which selects the current row. Return TRUE to prevent this behavior. Message Variables hWndForm Window handle of the table window. hWndItem Window handle of the table window. wParam Unused. lParam Table window context row that the user is trying to tab away from (first row is 0, second row is 1, and so on)
SAM_FetchDoneInt32SAM_FetchDone is sent to a table window when Sal.TblPopulate, using the TBL_FillAllBackground value as its last parameter, completes the population of a table window Message Variables hWndForm Window handle of the table window. hWndItem Window handle of the table window. wParam Unused. lParam Unused.
SAM_FetchRowInt32SAM_FetchRow is sent to a table window whenever needs to copy a row into the table window cache. When you populate a table window, sends a SAM_FetchRow message for every row in the table window that displays. When the user scrolls forward, sends more SAM_FetchRow messages to the table window for those rows not currently in the cache that need to be displayed. You usually call Sql.FetchRow to fetch a row into the table window based on the row number in lParam. Note: Setting a breakpoint on a statement that executes while processing a SAM_FetchRow message can cause incomplete painting of a table window. Message Variables hWndForm Window handle of the table window. hWndItem Window handle of the table window. wParam Unused. lParam Row number of row that was populated. Return One of three possible values: TBL_NoMoreRows - There are no rows at the specified fetch number and beyond. TBL_RowDeleted - The row has been deleted. TBL_RowFetched - The row was fetched successfully.
SAM_FetchRowDoneInt32SAM_FetchRowDone is sent to a table window after populates a row. Message Variables hWndForm Window handle of the table window. hWndItem Window handle of the table window. wParam Unused. lParam Row number of the fetched row.
SAM_FieldEditInt32SAM_FieldEdit is sent to a combo box, data field, multiline text field, table window, or table window column when you change a window's value and then move the focus away from that window. For example, if you enter a value into a data field, then press the TAB key or click the mouse to move to another field, a SAM_FieldEdit message is sent to the data field. The SAM_FieldEdit message is different from the SAM_AnyEdit message. A SAM_AnyEdit message is sent for every keystroke, while a SAM_FieldEdit message is sent only when you attempt to leave a window whose value you changed. Use SAM_Validate for field validation. SAM_Validate supersedes SAM_FieldEdit.
SAM_HelpInt32SAM_Help is sent to any top level window and MDI window when the user presses the F1 function key. It is used in conjunction with Sal.WinHelp to call up a user-created Help system. The wParam contains the handle of the child object that has the focus that you can use for a context-sensitive help system. Message Variables hWndForm Window handle of the current form window or table window. hWndItem Window handle of the current form window or table window. wParam Window handle of the child window that has the focus. lParam Unused.
SAM_ItemClickedInt32SAM_ItemClicked is sent when the user click a node in a SalTreeControl control. wParam is the item handle. lParam is not used.
SAM_ItemCollapsedInt32SAM_ItemCollapsed is sent when the user collapses a node in a SalTreeControl control. wParam is the item handle. lParam is not used.
SAM_ItemExpandedInt32SAM_ItemExpanded is sent when the user expands a node in a SalTreeControl control. wParam is the item handle. lParam is not used.
SAM_ItemSelectedInt32SAM_ItemSelected is sent when the user select a node in a SalTreeControl control. wParam is the item handle. lParam is not used.
SAM_KillFocusInt32SAM_KillFocus is sent to a table window, data field, multiline field, pushbutton, radio button, check box, option button, combo box, list box, column, and horizontal and vertical scroll bar as you are about to exit the object. The message is always sent whether or not you changed the object's value. Warning: You cannot call Sal.SetFocus in SAM_KillFocus processing because of a Windows limitation. Message Variables hWndForm Window handle of the top-level window. hWndItem Window handle of the object. wParam Handle of the window gaining the focus. lParam Unused.
SAM_NavChangeInt32SAM_NavChange is sent when a pane becomes active (i.e. displayed or selected).
SAM_NavGroupCollapseInt32SAM_NavGroupCollapse is sent when a group (within a pane, delimited by a pane separator) is collapsed. wParam is the index of the pane where is the group is located. lParam is the index of the group which is being collapsed.
SAM_NavGroupExpandInt32SAM_NavGroupExpand is sent when a group (within a pane, delimited by a pane separator) is expanded. wParam The index of the pane where is the group is located. lParam The index of the group which is being expanded.
SAM_NavResizeInt32SAM_NavResize is sent when the splitter is moved to a new position. wParam The index of the pane which is being resized. lParam The size of the object after resizing. The low-order word contains the width in pixels, and the high-order word contains the height in pixels.
SAM_PrintInt32SAM_Print is sent to a form window, data field, multiline text field, combo box, or push button while the object prints.
SAM_ReportFetchInitInt32Sent to a top-level window or MDI window that started a report. Happens when the first page of a report is ready for formatting. It sends SAM_ReportFetchInit after sending SAM_ReportStart. SAM_ReportFetchInit means that it is ready to receive data from the application. If the report contains data from a database, call SqlExecute. If Sql.Execute returns TRUE, then Return TRUE. If you Return FALSE, the report stops. If you do not Return a value, or you do not process the message, the report continues. Message Variables hWndForm Unused. hWndItem Unused. wParam Window handle of a report window. lParam Unused.
SAM_ReportFetchNextInt32SAM_ReportFetchNext message is send to a top-level window or MDI window that started the report. This message is sent after a SAM_ReportFetchInit message to indicate that it is ready to receive the next row of data from the application. If the application is going to fetch the report data from a database, it typically makes a call to Sql.FetchNext to fetch the next row from the database upon receipt of this message. If the fetch is successful, the application returns TRUE for SAM_ReportFetchNext. Does not send data from the application to the report until the application returns TRUE in SAM_ReportFetchNext processing. If there is no more data to fetch, the application returns FALSE. Message Variables hWndForm Unused. hWndItem Unused. wParam Window handle of the window that started the report. lParam Unused.
SAM_ReportFinishInt32SAM_ReportFinish message is sent to a top-level window or MDI window that started the report. SAM_ReportFinish is sent when the report finishes. The application can use this message to do any sort of cleanup that is needed following the generation of a report. Message Variables hWndForm Unused. hWndItem Unused. wParam Window handle of the window that started the report. lParam TRUE, if the user has canceled printing the report.
SAM_ReportNotifyInt32Data is fetched and blocks of the report are formatted. When the formatted blocks cross a page boundary, a page header/footer block set is inserted in the flow and the page is sent to the printer or displayed in preview mode. The report sends SAM_ReportNotify messages as the report blocks are formatted and output into the page buffer. The Before notifications are send before any formatting occurs, the Output notifications are sent when the first line of the report is output and the Done notifications are sent when the entire block is output. Notifications are sent to a top-level window or MDI window that starts the report. Two sets of notifications are sent for each block: When at least one line of the formatted block is output | When the block is finished outputting Check the lParam variable to see which part of the report is ready to be formated. The lParam is one of the RPT_Before* constants. Any value that you return during SAM_ReportNotify processing is ignored
SAM_ReportStartInt32Sent to a top-level window or MDI window that started a report when a part of a report is ready to be formatted. SAM_ReportStart is sent after the application calls the report with either Sal.ReportView or Sal.ReportPrint to indicate that the report is starting. SAM_ReportStart is sent before the report displays or prints. You can use SAM_ReportStart to do any sort of initialization necessary before sending data to the report. Ignores SAM_ReportStart's return value. Message Variables hWndForm Unused. hWndItem Unused. wParam Window handle of the window that started the report. lParam Unused.
SAM_RowHeaderClickInt32SAM_RowHeaderClick is sent to a table window when you click on a row in the row header. This message is not sent unless Sal.TblDefineRowHeader has been used to define a row header. Message Variables hWndForm Window handle of the table window. hWndItem Window Handle of the table window. wParam Unused. lParam Context row of the table window.
SAM_RowHeaderDoubleClickInt32SAM_RowHeaderDoubleClick is sent to a table window when you double-click on a row in the row header. Only sends this message when TBL_RowHdr_Visible is TRUE (which is the default). If TBL_RowHdr_Visible is FALSE, you can set it to TRUE by calling Sal.TblDefineRowHeader. Message Variables hWndForm Window handle of the table window. hWndItem Window Handle of the table window. wParam Unused. lParam Context row of the table window
SAM_RowSetContextInt32Sends this message to a TableWindow when the user changes its focus row. If you process this message but do not execute a Return statement, performs its default processing. Message Variables hWndForm Window handle of the top-level window. hWndItem Window handle of the object. wParam Unused. lParam Unused.
SAM_RowValidateInt32SAM_RowValidate is sent to a table window before the table window's focus row changes, letting the application validate the contents of the row. The SAM_RowValidate message is sent regardless of the current row flags or cell edited flags. It is sent only when you change the focus row, not when you remove the focus from the table window. If the application returns VALIDATE_Cancel, the focus remains on the current row. If the application returns VALIDATE_Ok, the table window behaves as normal and changes the focus row. Message Variables hWndForm Window handle of the table window. hWndItem Window handle of the table window. wParam Unused. lParam Table window context row (first row is 0, second row is 1, and so on).
SAM_ScrollBarInt32SAM_ScrollBar is sent to a horizontal or vertical scroll bar when you move within the scroll bar using either the mouse or the keyboard. The application must check SAM_ScrollBar's wParam variable in order to determine which of the following movements occurred: SB_Bottom SB_LineDown SB_LineUp SB_PageDown SB_PageUp SB_ThumbPosition SB_ThumbTrack SB_Top
SAM_SetFocusInt32SAM_SetFocus is sent to a check box, combo box, data field, list box, multiline text field, push button, radio button, scroll bar, or table window column when it receives the input focus. Process the SAM_SetFocus message and initialize actions to take place when the user enters an object. Avoid calling functions that can change the focus (such as Sal.MessageBox, Sal.ModalDialog, Sal.SendMsg) while processing a SAM_SetFocus message. Message Variables hWndForm Window handle of the top-level window. hWndItem Window handle of the object receiving the message. wParam Handle of the window losing the focus. lParam Unused.
SAM_SqlErrorInt32Sent to the Application Actions section of the outline when a SQL function fails. If you process this message, you can control how the application responds to SQL errors on a global level instead of using the default error processing which displays a dialog box with the error number and error text. Call Sql.ExtractArgs to get the error code, error position, and Sql Handle from the wParam and lParam. You can also use When SqlError in any actions section of the outline to process an error at a local level. Message Variables hWndForm Always hWndNULL. hWndItem Not used. wParam Sql Handle. lParam SQL Error code and position
SAM_TabChangeInt32This message is fired when the user navigates to a different tab page in a tab control. wParam = Index of the formerly active tab page. lParam = Index of the newly activated tab page. Return False to prevent the tab control from switching the active tab.
SAM_TblDoDetailsInt32Sends this message to a table window when the user or code changes its focus row. If you process this message but do not execute a Return statement, performs its default processing. Message Variables hWndForm Window handle of the top-level window. hWndItem Window handle of the object. wParam Unused. lParam Unused.
SAM_TimerInt32Sent to the Application Actions, top-level window and its children, MDI window every n milliseconds, as specified by Sal.TimerSet. Check the wParam to find the identifier of the timer that sent the message. This way, one object can process SAM_Timer messages from more than one timer. Important: Timers are a limited resource in Windows, so use them sparingly. Message Variables hWndForm Window handle of the top-level window. hWndItem Window handle of the object receiving the message. wParam Timer ID. lParam Unused.
SAM_UserInt32This constant represents the value at which user-defined messages should start. The next consecutive user-defined message would be SAM_User+1. Value = 0x4000
SAM_ValidateInt32Sent to a Data field, multiline field, combo box, and column when the user changes the value of the object and then moves the focus away from the object. The user can move the focus by several actions such as tabbing to another object, clicking another object, or using a mnemonic or accelerator to activate another object. When a user changes one of these objects, the object's field edit flag changes to TRUE. You can get and set the field edit flag using Sal.QueryFieldEdit and Sal.SetFieldEdit. SAM_Validate validates the data that the user entered or changed. Whenever the user changes an object, sends SAM_Validate. If an object is valid, return VALIDATE_Ok. The value you return from SAM_Validate processing controls whether the focus changes. Does not send SAM_Validate when the user selects a menu item (a menu selection does not change the focus). You can force to send SAM_Validate by calling Sal.SendValidateMsg by calling Sal.SendValidateMsg in the menu actions of a menu item. This forces field validation before processing a menu selection (without changing the focus). Sal.SendValidateMsg returns the value that the SAM_Validate message processing returns. To Control the action that happens return one of these values: VALIDATE_Cancel, VALIDATE_Ok or VALIDATE_OkClearFlag. Note: Unless you return VALIDATE_Cancel SAM_FieldEdit will also be send to the object.
SB_BottomInt32The SAM_ScrollBar message sends this constant (as the wParam variable) to indicate that you have scrolled to the scroll bar's end (maximum). Value = 7
SB_LineDownInt32The SAM_ScrollBar message sends this constant (as the wParam variable) to indicate that you have scrolled to the scroll bar's end (maximum).
SB_LineUpInt32The SAM_ScrollBar message sends this constant (as the wParam variable) to indicate that you have scrolled one line more. Value = 0
SB_PageDownInt32The SAM_ScrollBar message sends this constant (as the wParam variable) to indicate that you have scrolled one page less. Value = 3
SB_PageUpInt32The SAM_ScrollBar message sends this constant (as the wParam variable) to indicate that you have scrolled one page more. Value = 2
SB_ThumbPositionInt32The SAM_ScrollBar message sends this constant (as the wParam variable) to indicate that you dragged the scroll box to a new position within the scroll bar. Specify SB_ThumbPosition if you want the client area repainted when you release the Thumb. (Compare to SB_ThumbTrack). Value = 4
SB_ThumbTrackInt32The SAM_ScrollBar message sends this constant (as the wParam variable) to indicate that you dragged the scroll box to a new position. Specify SB_ThumbTrack if you want the client area updated every time you click on and drag the thumb of the scroll bar. (Compare to SB_ThumbPosition). Value = 5.
SB_TopInt32The SAM_ScrollBar message sends this constant (as the wParam variable) to indicate that you scrolled to the beginning (minimum) of the scroll bar. Value = 6
SQLERROR_ReasonInt32When calling Sql.ErrorText, set the nType parameter to this constant to retrieve the error reason.
SQLERROR_RemedyInt32When calling Sql.ErrorText, set the nType parameter to this constant to retrieve the error remedy.
STRING_NullSalStringUse this constant to set a String to a null value or to check if a String value is a null. Value = null (the same as \0 in C programming)
TBL_AdjustInt32Sal.TblDeleteRow uses this constant to coordinate the deletion of a table window row with the deletion of a row from the underlying result set. TBL_Adjust ensures automatic correspondence between the lParam (selected row) of the SAM_FetchRow message and the row number in the result set. It automatically re-synchronizes the row number in the result set with the row number in the table window. Using TBL_Adjust prevents blank rows in the table window. When the user deletes with TBL_Adjust the row number is remembered. All actions with the table, fetching, row context, row searching then adjusts the row number to be insync with the sql result set row number hiding those that are deleted. If you were to just delete from the result set, the next time that table row were asked to fetch it's returns would be null (deleted). Value = 1
TBL_AutoScrollInt32The Sal.TblScroll function uses this constant to scroll the table window to the specified row and column. TBL_AutoScroll scrolls the table window as needed until the row becomes visible. This is the default and only behavior supported by the Sal.TblScroll function.
TBL_ErrorInt32Returns this constant when a table window function is unsuccessful.
TBL_FillAllInt32The Sal.TblPopulate function uses this constant to populate an entire table window at once. Value = 1
TBL_FillAllBackgroundInt32The Sal.TblPopulate function uses this constant to populate the visible portion of a table window first, then return control to the application and continue fetching rows in the background. Fetches subsequent rows at a rate of one row every 1/4 of a second. Once all rows have been fetched, the table window receives a SAM_FetchDone message. Value = 2
TBL_FillNormalInt32The Sal.TblPopulate function uses this constant to populate the visible portion of the table window first, then populates new rows as they are scrolled into view. Value = 0
TBL_Flag_EditLeftJustifyInt32This flag instructs to left-justify cells while they are being edited. By default, cell editing behavior reflects the column definition. For example, when you edit a right-justified column, right- justifies the text. With center-justified and right-justified columns, this means that you are not able to enter more text than fits in the cell. Use TBL_Flag_EditLeftJustify with the Sal.TblQueryTableFlags and Sal.TblSetTableFlags functions. Value = 0x4000
TBL_Flag_GrayedHeadersInt32This flag instructs to paint column headings and row headings with color and shading similar to push buttons. Use TBL_Flag_GrayedHeaders with the Sal.TblQueryTableFlags and Sal.TblSetTableFlags functions. Value = 0x200
TBL_Flag_HideColumnHeadersInt32This flag instructs hides the column headers. Use TBL_Flag_HideColumnHeaders with the SalTblQueryTableFlags and SalTblSetTableFlags functions.
TBL_Flag_HScrollByColsInt32Not supported.
TBL_Flag_MovableColsInt32This flag lets the user drag-move columns. Use TBL_Flag_MoveableCols with the Sal.TblQueryTableFlags and Sal.TblSetTableFlags functions. Value = 2
TBL_Flag_SelectableColsInt32This flag lets the user select columns by clicking the column title. Use TBL_Flag_SelectableCols with the Sal.TblQueryTableFlags and Sal.TblSetTableFlags functions. Value = 0x80
TBL_Flag_ShowVScrollInt32Not supported.
TBL_Flag_ShowWaitCursorInt32Not supported.
TBL_Flag_SingleSelectionInt32This flag ensures that the user can only select one row at a time from a table window. Use TBL_Flag_SingleSelection with the Sal.TblQueryTableFlags and Sal.TblSetTableFlags functions. Value = 0x1000
TBL_Flag_SizableColsInt32This flag lets the user drag-size columns. Use TBL_Flag_SizableCols with the Sal.TblQueryTableFlags and Sal.TblSetTableFlags functions. Value = 1
TBL_Flag_SuppressLastColLineInt32This flag suppresses painting of the dotted lines that separate columns. Use TBL_Flag_SuppressRowLines with the Sal.TblQueryTableFlags and Sal.TblSetTableFlags functions. Value = 0x0200
TBL_Flag_SuppressRowLinesInt32This flag suppresses painting of the dotted lines that separate rows. Use TBL_Flag_SuppressRowLines with the Sal.TblQueryTableFlags and Sal.TblSetTableFlags functions. Value = 0x0800
TBL_MaxRowInt32This constant represents the maximum or last row in a table window. Use it with the Sal.TblSetRange (to define a dynamic scroll range), Sal.TblFindPrevRow (to find the last row in a table), and Sal.TblInsertRow functions.
TBL_MinRowInt32This constant represents the minimum or first row in a table window. Use it with the Sal.TblFindNextRow (to find the first row in a table), Sal.TblInsertRow and Sal.TblSetRange functions.
TBL_MinSplitRowInt32This constant identifies the minimum row number of a row in the lower half of a split window. For example, you can use it with the Sal.TblSetFocusRow function to set the focus to the first row in the lower half of a split window.
TBL_NoAdjustInt32The Sal.TblDeleteRow function uses this constant to coordinate the deletion of a table window row with the deletion of a row from the underlying result set. TBL_NoAdjust does not re-synchronize the row number of the row in the result set with the row number of the row in the table window. When you delete a row from a table window, a blank row displays in its place. When the user deletes with TBL_NoAdjust it simply deletes that row number, all rows above (higher) the deleted are now one less, that is not adjusted for the result set. The row number is not going to be in sync with a result set now. A side effect of this is that if you get a fetch message for the row number that was deleted your code will get called and null values will be returned (the result set row is deleted). Value = 0
TBL_NoMoreRowsInt32This constant is returned to the Sal.TblFetchRow function when can not fetch the specified row and there are no more rows to fetch after the specified row. Value = 0
TBL_RowDeletedInt32This constant is returned to the Sal.TblFetchRow function when can not fetch the specified row because another transaction deleted it. Value = 2
TBL_RowFetchedInt32This constant is returned to the Sal.TblFetchRow function when the row is successfully fetched. Value = 1
TBL_RowHdr_MarkEditsInt32This flag displays a symbol in the edit indicator column of a row that means the setting of the row flag: A check mark means that the row has been modified (ROW_Edited). An X means that the row is marked for deletion (ROW_MarkDeleted). A right arrow means that this is a new row ( ROW_New). Use TBL_RowHdr_MarkEdits with the Sal.TblDefineRowHeader and Sal.TblQueryRowHeader functions. Value = 1
TBL_RowHdr_RowsSizableInt32This flag lets the user drag-size the row height. Use TBL_RowHdr_RowsSizable with the Sal.TblDefineRowHeader and Sal.TblQueryRowHeader functions. Value = 32
TBL_RowHdr_ShareColorInt32This flag sets the row header color to the text color of the cells in hWndCol. Otherwise, the row header uses the table window's default text color. Use TBL_RowHdr_ShareColor with the Sal.TblDefineRowHeader and Sal.TblQueryRowHeader functions. Value = 16
TBL_RowHdr_SizableInt32This flag lets the user drag-size the row header. Use TBL_RowHdr_Sizable with the Sal.TblDefineRowHeader and Sal.TblQueryRowHeader functions. Value = 4
TBL_RowHdr_VisibleInt32This flag makes the row header visible. Use TBL_RowHdr_Visible with the Sal.TblDefineRowHeader and Sal.TblQueryRowHeader functions. Value = 8
TBL_ScrollBottomInt32The Sal.TblScroll function uses this constant to describe the position of the row to which you are scrolling. TBL_ScrollBottom scrolls the row to the bottom of the table window.
TBL_ScrollTopInt32The SalTblScroll function uses this constant to describe the position of the row to which you are scrolling. TBL_ScrollTop scrolls the row to the top of the table window.
TBL_SetFirstRowInt32This constant is used by Sal.TblSetRow to change the current focus row in a table window to the first row. Value = 3
TBL_SetLastRowInt32This constant is used by Sal.TblSetRow to change the current focus row in a table window to the last row. Value = 2
TBL_SetNextRowInt32This constant is used by Sal.TblSetRow to change the current focus row in a table window to the next row. Value = 0
TBL_SetPrevRowInt32This constant is used by Sal.TblSetRow to change the current focus row in a table window to the previous row. Value = 1
TBL_SortDecreasingInt32You specify this constant for Sal.TblSortRows when you want to sort the table window rows in descending order. Value = 0
TBL_SortIncreasingInt32You specify this constant for Sal.TblSortRows when you want to sort the table window rows in ascending order. Value = 1
TBL_Split_AdjustableInt32Not supported.
TBL_TempRowInt32This constant represents a temporary row that you can use with the SalTblSetContext function to move the context away from a table window row. You can also use it with the Sal.TblQueryContext function. Value = 0x7FFFFFF1
TBL_XOverLockedColumnsInt32Sal.TblObjectsFromPoint returns this constant when the X coordinate is in a locked column. Value = 0x0200
TBL_XOverLockedColumnsBorderInt32Sal.TblObjectsFromPoint returns this constant when the X coordinate is between a locked column and an unlocked column.
TBL_XOverRowHeaderInt32Sal.TblObjectsFromPoint returns this constant when the X coordinate is in a row header. Value = 0x0100
TBL_XOverUnlockedColumnsInt32Sal.TblObjectsFromPoint returns this constant when the X coordinate is in an unlocked column. Value = 0x0400
TBL_YOverColumnHeaderInt32Sal.TblObjectsFromPoint returns this constant when the Y coordinate is in a column header. Value = 0x01
TBL_YOverNormalRowsInt32Sal.TblObjectsFromPoint returns this constant when the Y coordinate is in a row in the upper part of a split table window or in a row in a non-split table window. Value = 0x04
TBL_YOverSplitBarInt32Not supported.
TBL_YOverSplitRowsInt32Not supported.
TPM_CenterAlignInt32Use this constant with Sal.TrackPopupMenu to center-align the pop-up menu. Value = 4
TPM_ContextMenuInt32Use this flag with Sal.TrackPopupMenuwhen displaying a popup menu in response to SAM_ContextMenu. This flag sets the focus to the window specified in Sal.TrackPopupMenu and displays the popup left aligned with the horizontal screen coordinate. Value = 0x4000
TPM_CursorXInt32Use this constant with Sal.TrackPopupMenu to tell to use the mouse cursor location instead of nX. Value = 0x1000
TPM_CursorYInt32Use this constant with Sal.TrackPopupMenu to tell to use the mouse cursor location instead of nY. Value = 0x2000
TPM_LeftAlignInt32Use this constant with Sal.TrackPopupMenu to left-align the pop-up menu (default) to its horizontal screen coordinate. This coordinate identifies the cursor location, or the point specified by nX/nY. Value = 0
TPM_LeftButtonInt32Use this constant with Sal.TrackPopupMenu to establish the left mouse button as the one with which to click on menu items (default). Value = 0
TPM_RightAlignInt32Use this constant with Sal.TrackPopupMenu to right-align the pop-up menu to its horizontal screen coordinate. This coordinate identifies the cursor location, or the point specified by nX/nY. Value = 8
TPM_RightButtonInt32Use this constant with Sal.TrackPopupMenu to establish the right mouse button as the one with which to click on menu items. Value = 2
TRACE_EventInt32
TRACE_FileInt32Trace constants used by Sal.StartTrace
TRACE_OutputInt32
TRACE_stdoutInt32
TraceApplicationTraceSwitch
TraceFilesTraceSwitch
TraceReportsTraceSwitch
TraceSQLTraceSwitchtrace switches
TraceSystemTraceSwitch
TraceTableWindowTraceSwitch
TraceWindowsTraceSwitch
TYPE_AccFrameInt32Use this constant to specify that a child window’s object type is an accessory frame.
TYPE_ActiveXInt32Use this constant to specify that a child window's object type is an ActiveX control.
TYPE_AnyInt32Use this constant to specify the first child window of any type. Use TYPE_Any with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 0x7fffffff
TYPE_BkgdTextInt32Use this constant to specify that a child window's object type is label control. Use TYPE_BkgdText with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 0x800
TYPE_CheckBoxInt32Use this constant to specify that a child window's object type is check box. Use TYPE_CheckBox with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 0x80
TYPE_ChildGridInt32Not supported.
TYPE_ChildTableInt32Use this constant to specify that a child window's object type is child table window. Use TYPE_ChildTable with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 0x80000
TYPE_ComboBoxInt32Use this constant to specify that a child window's object type is combo box. Use TYPE_ComboBox with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 0x4000
TYPE_CustControlInt32Use this constant to specify that a child window's object type is custom control. Use TYPE_CustControl with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 0x4000000
TYPE_DataFieldInt32Use this constant to specify that a child window's object type is data field. Use TYPE_DataField with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 8
TYPE_DatePickerInt32This constant specifies that a child window's object type is a date picker control. The VisCalendar control used to return TYPE_CustControl, it now returns TYPE_DatePicker.
TYPE_DateTimePickerInt32This constant specifies that a child window's object type is a date picker control. The VisCalendarDropDown control used to return TYPE_CustControl, it now returns TYPE_DateTimePicker.
TYPE_DialogBoxInt32Use this constant to specify that a window's object type is dialog box. Use TYPE_DialogBox with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 4
TYPE_FormToolBarInt32Use this constant to specify that a child window's object type is form tool bar. Use TYPE_FormToolBar with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 0x200000
TYPE_FormWindowInt32Use this constant to specify that a window's object type is form window. Use TYPE_FormWindow with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 1
TYPE_FrameInt32Use this constant to specify that a child window's object type is frame. Use TYPE_Frame with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 0x10000
TYPE_GridWindowInt32Not supported.
TYPE_GroupBoxInt32Use this constant to specify that a child window's object type is group box. Use TYPE_GroupBox with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 0x100
TYPE_HorizScrollBarInt32Use this constant to specify that a child window's object type is horizontal scroll bar. Use TYPE_HorizScrollBar with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 0x200
TYPE_LineInt32Use this constant to specify that a child window's object type is line. Use TYPE_Line with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 0x8000
TYPE_ListBoxInt32Use this constant to specify that a child window's object type is list box. Use TYPE_ListBox with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 0x2000
TYPE_MDIWindowInt32Use this constant to specify that a window's object type is MDI window. Use TYPE_MDIWindow with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 0x100000
TYPE_MultilineTextInt32Use this constant to specify that a child window's object type is multi-line text field. Use TYPE_MultilineText with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 16
TYPE_NavBarInt32This constant specifies that a child window's object type is a navigation bar. Use with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 629
TYPE_NavPaneInt32This constant specifies that a child window's object type is a navigation pane inside a navigation bar. Use with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 631
TYPE_OptButtonInt32Use this constant to specify that a child window's object type is option button. Use TYPE_OptButton with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 0x2000000
TYPE_PictureInt32Use this constant to specify that a child window's object type is picture. Use TYPE_Picture with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 0x20000
TYPE_PushButtonInt32This constant specifies that a child window's object type is push button. Use TYPE_PushButton with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 32
TYPE_RadioButtonInt32This constant specifies that a child window's object type is radio button. Use TYPE_RadioButton with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 64
TYPE_RichTextControlInt32This constant specifies that a child window's object type is a rich text edit control. The VisRichEdit control used to return TYPE_CustControl, it now returns TYPE_RichTextControl.
TYPE_TabBarInt32This constant specifies that a child window's object type is a tab bar. Use with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 0x00040000
TYPE_TableColumnInt32This constant specifies that a child window's object type is table window column. Use TYPE_TableColumn with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 0x1000
TYPE_TableWindowInt32This constant specifies that a window's object type is table window. Use TYPE_TableWindow with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 2
TYPE_TreeControlInt32This constant specifies that a child window's object type is a tree control.
TYPE_VertScrollBarInt32This constant specifies that a child window's object type is vertical scroll bar. Use TYPE_VertScrollBar with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions. Value = 0x400
VALIDATE_CancelInt32This constant indicates that validation of the contents of a data field, multiline text field, combo box, or table window column failed. Focus returns to the edited object. VALIDATE_Cancel is one of three possible return values from the SAM_Validate and SAM_RowValidate messages. It is also one of two possible return values from the Sal.SendValidateMsg message. Value = 0
VALIDATE_OkInt32This constant indicates that some user action took place and that the focus moved from the edited object. Examples of user action include tabbing to another object, using the mouse to click on another object, or using a mnemonic or accelerator to activate another object. VALIDATE_Ok is one of three possible return values from the SAM_Validate and SAM_RowValidate messages. It is also one of two possible return values from the Sal.SendValidateMsg message. Performs its own validation if you do not trap and process the SAM_Validate message. Value = 1
VALIDATE_OkClearFlagInt32This constant indicates that some user action took place and that cleared the field edited flag. VALIDATE_OkClearFlag is one of three possible return values from the SAM_Validate and SAM_RowValidate messages. Value = 2
VT_BOOLInt32
VT_BSTRInt32
VT_CYInt32
VT_DATEInt32
VT_DECIMALInt32
VT_DISPATCHInt32
VT_EMPTYInt32Variant types
VT_ERRORInt32
VT_I1Int32
VT_I2Int32
VT_I4Int32
VT_R4Int32
VT_R8Int32
VT_UI1Int32
VT_UI2Int32
VT_UI4Int32
VT_UNKNOWNInt32
VT_VARIANTInt32
VT_VOIDInt32
Window_InvalidInt32The Sal.GetWindowState function returns this constant when the specified window handle is not valid. Value = 1
Window_MaximizedInt32The Sal.GetWindowState function returns this constant when the specified window is maximized. You can also specify this constant when you call the Sal.LoadAppAndWait function. Value = 3
Window_MinimizedInt32The Sal.GetWindowState function returns this constant when the specified window is minimized (iconic). You can also specify this constant when you call the Sal.LoadAppAndWait function. Value = 4
Window_NormalInt32The Sal.GetWindowState function returns this constant when the specified window exists on the screen and is neither maximized nor minimized. You can also specify this constant when you call the Sal.LoadAppAndWait function. Value = 5
Window_NotVisibleInt32The Sal.GetWindowState function returns this constant when the specified window is not visible on the screen. You can also specify this constant when you call the Sal.LoadAppAndWait function. Value = 2
WM_DDE_AckInt32DDE messages
WM_DDE_AdviseInt32
WM_DDE_DataInt32
WM_DDE_ExecuteInt32
WM_DDE_FirstInt32
WM_DDE_InitiateInt32
WM_DDE_PokeInt32
WM_DDE_RequestInt32
WM_DDE_TerminateInt32
WM_DDE_UnadviseInt32
wParamSalNumberThe wParam value used in the last message.

Properties

Static memberCultureInfo

CultureInfo: Returns the current CultureInfo.

Static memberFileName

String: FileName returned by OpenFileDialog

Static memberFilterIndex

Int32: FilterIndex returned by OpenFileDialog

Static memberNamespace

String: The application's main namespace.

Static membernArgCount

SalNumber: This variable's value is equal to the number of command line arguments you enter.

Static memberstrArgArray

SalArray<SalString>: This is a dynamic array which contains the command line arguments.

Methods

Static memberGetExceptionHResult(ex)

Reads the protected HResult property.

ParameterTypeDescription
exException

Returns: Int32.

Static memberGetInstance(type)

Retrieves the singleton instance of the specified type from the session's repository.

ParameterTypeDescription
typeTypeThe Type of the session object to retrieve or create.

Returns: Object. An instance of Type that is stored with the web session.

Static memberIsSessionExpired()

Checks whether the current session is still valid.

Returns: Boolean. True to indicate that the session has expired.

Static memberLogNotImplemented()

Logs the call to a method that is not yet implemented.

Static memberLogNotSupported()

Logs the call to a method that is not supported.

Static memberTraceError(traceswitch, text, args)

Logs an error

ParameterTypeDescription
traceswitchTraceSwitch
textString
argsObject[]

Static memberTraceException(traceswitch, exception, level)

Logs an exception

ParameterTypeDescription
traceswitchTraceSwitch
exceptionException
levelTraceLevel

Static memberTraceInfo(traceswitch, text, args)

Logs an information

ParameterTypeDescription
traceswitchTraceSwitch
textString
argsObject[]

Static memberTraceVerbose(traceswitch, text, args)

Logs extra information

ParameterTypeDescription
traceswitchTraceSwitch
textString
argsObject[]

Static memberTraceWarning(traceswitch, text, args)

Logs a warning

ParameterTypeDescription
traceswitchTraceSwitch
textString
argsObject[]