Skip to main content
Version: 2025

Sys

Namespace: PPJ.Runtime

Assembly: PPJ.Web.50 (5.0.0.0)

Provides SAL system constants, message context, and diagnostic services.

public class Sys

Message context flows with asynchronous execution. Application globals are isolated to the current Wisej user session.

Example:

using PPJ.Runtime;
using System.Diagnostics;

Sys.TraceApplication.Level = TraceLevel.Info;
Sys.TraceInfo(Sys.TraceApplication, "Application started with {0} arguments.", Sys.nArgCount);

Fields

NameTypeDescriptionValue
AC_DynamicInt32Sentinel that changes a fixed SAL array dimension to a dynamic dimension.0x80000000
CF_TextInt32Identifies text data in a clipboard or DDE format field.1
CM_TableCellInt32Selects the context menu for an editable table cell.1
COL_CellType_ButtonInt32Identifies the button table-cell type.6
COL_CellType_CheckBoxInt32Identifies the check box table-cell type.2
COL_CellType_CustomInt32Identifies the custom table-cell type.8
COL_CellType_DateTimeInt32Identifies the date time table-cell type.5
COL_CellType_DropDownListInt32Identifies the drop down list table-cell type.3
COL_CellType_MaskedInt32Identifies the masked table-cell type.7
COL_CellType_PopupEditInt32Identifies the popup edit table-cell type.4
COL_CellType_StandardInt32Identifies the standard table-cell type.1
COL_CellType_TextInt32Identifies the text table-cell type.0
COL_CenterJustifyInt32Centers column text; mutually exclusive with COL_RightJustify.0x0100
COL_CheckBox_IgnoreCaseInt32Compares checked and unchecked column values without regard to case.0x0001
COL_DimTitleInt32Displays a column title with disabled styling.0x00000020
COL_DropDownList_AutoInt32Keeps a drop-down column editable as a combo box.0x0004
COL_DropDownList_EditableInt32Allows text that does not appear in the drop-down list.0x0008
COL_DropDownList_SortedInt32Requests sorted entries in a drop-down column.0x0001
COL_DropDownList_VScrollInt32Retains the vertical-scrollbar style for compatibility; currently ignored.0x0002
COL_EditableInt32Allows users to edit column cells.0x00000002
COL_EnableSortInt32Enables column sorting and the column-header sort commands.0x04000000
COL_GetIDInt32Looks up a column by its one-based outline identifier.0
COL_GetPosInt32Looks up a column by its one-based display position.1
COL_IndicateOverflowInt32Displays an ellipsis when cell text does not fit.0x00001000
COL_InvisibleInt32Masks the text in a password column.0x0010
COL_LowerCaseInt32Formats cell text in lowercase.0x00000800
COL_MultilineCellInt32Enables multiline column cells.0x00800000
COL_ReadOnlyInt32Prevents editing of column cells.0x00000200
COL_RightJustifyInt32Aligns column text to the right; mutually exclusive with COL_CenterJustify.0x00000080
COL_SelectedInt32Marks a column as selected.0x00000004
COL_UpperCaseInt32Formats cell text in uppercase.0x00000400
COL_VisibleInt32Makes a column visible.0x00000001
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.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.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.0x80000000
COLOR_BlackInt32Defines the SAL black color value.0
COLOR_BlueInt32Defines the SAL blue color value.0xFF0000
COLOR_BurgundyInt32Defines the SAL burgundy color value.0x000050
COLOR_CharcoalInt32Defines the SAL charcoal color value.0x404040
COLOR_ChartreuseInt32Defines the SAL chartreuse color value.0x008080
COLOR_CyanInt32Defines the SAL cyan color value.0xFFFF00
COLOR_DarkAquaInt32Defines the SAL dark aqua color value.0xBFBF25
COLOR_DarkBlueInt32Defines the SAL dark blue color value.0x800000
COLOR_DarkGrayInt32Defines the SAL dark gray color value.0xA9A9A9
COLOR_DarkGreenInt32Defines the SAL dark green color value.0x006400
COLOR_DarkRedInt32Defines the SAL dark red color value.0x0000B0
COLOR_DefaultInt32Default or empty color.0x30000000
COLOR_GrayInt32Defines the SAL gray color value.0xC0C0C0
COLOR_GreenInt32Defines the SAL green color value.0x00FF00
COLOR_IndexCellInt32Identifies 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.108
COLOR_IndexCellTextInt32Identifies 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.100
COLOR_IndexWindowInt32Identifies the window's background color. Use this constant with the Sal.ColorGet, Sal.ColorGetSysColor, and Sal.ColorSet functions.5
COLOR_IndexWindowTextInt32Identifies the window's text color. Use this constant with the Sal.ColorGet, Sal.ColorGetSysColor, and Sal.ColorSet functions.8
COLOR_JadeInt32Defines the SAL jade color value.0x404000
COLOR_LightAquaInt32Defines the SAL light aqua color value.0xFFFF7F
COLOR_LightGrayInt32Defines the SAL light gray color value.0xE2E2E2
COLOR_LightGreenInt32Defines the SAL light green color value.0xBFFFBF
COLOR_LightPeriwinkleInt32Defines the SAL light periwinkle color value.0xFFBFBF
COLOR_MagentaInt32Defines the SAL magenta color value.0xFF00FF
COLOR_MaizeInt32Defines the SAL maize color value.0x80FFFF
COLOR_MarigoldInt32Defines the SAL marigold color value.0x7F00FF
COLOR_MidnightBlueInt32Defines the SAL midnight blue color value.0x800000
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.0x60000000
COLOR_OrchidInt32Defines the SAL orchid color value.0xFF7FFF
COLOR_PeriwinkleInt32Defines the SAL periwinkle color value.0xFF7f7F
COLOR_PurpleInt32Defines the SAL purple color value.0x800080
COLOR_RedInt32Defines the SAL red color value.0x0000FF
COLOR_RoyalBlueInt32Defines the SAL royal blue color value.0xE16941
COLOR_SalmonInt32Defines the SAL salmon color value.0x7280FA
COLOR_SkyInt32Defines the SAL sky color value.0xEBCE87
COLOR_SysWindowInt32Identifies the window's background color. Use this constant with the Sal.ColorGetSysColor function.0x10000000
COLOR_SysWindowFrameInt32Identifies the color of the window's frame. Use this constant with the Sal.ColorGetSysColor function.0x50000000
COLOR_SysWindowTextInt32Identifies the color of the window's text. Use this constant with the Sal.ColorGetSysColor function.0x20000000
COLOR_TealInt32Defines the SAL teal color value.0x808000
COLOR_WhiteInt32Defines the SAL white color value.0xFFFFFF
COLOR_YellowInt32Defines the SAL yellow color value.0x00FFFF
CREATE_AsChildInt32Requests creation as a child window.0x0004
CREATE_BorderInt32Requests a border on a dynamically created window.0x0002
CREATE_HiddenInt32Requests creation of a window without initially showing it.0x0001
CURSOR_ArrowInt32The standard arrow cursor. Use this constant with the Sal.CursorSet function.32512
CURSOR_CrossInt32A crosshair cursor. Use this constant with the Sal.CursorSet function.32515
CURSOR_DisableDropInt32The cursor that displays when in drag mode and drop is disabled. Use this constant with the Sal.CursorSet and Sal.CursorSetFile functions.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.2
CURSOR_IBeamInt32A text (I-beam) cursor. Use this constant with the Sal.CursorSet function.32513
CURSOR_IconInt32An empty icon. Use this constant with the Sal.CursorSet function.32641
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.32640
CURSOR_SizeNESWInt32A double-pointed cursor with arrows pointing northeast and southwest. Use this constant with the Sal.CursorSet function.32643
CURSOR_SizeNSInt32A double-pointed cursor with arrows pointing north and south. Use this constant with the Sal.CursorSet function.32645
CURSOR_SizeNWSEInt32A double-pointed cursor with arrows pointing northwest and southeast. Use this constant with the Sal.CursorSet function.32642
CURSOR_SizeWEInt32A double-pointed cursor with arrows pointing west and east. Use this constant with the Sal.CursorSet function.32644
CURSOR_UpArrowInt32A vertical arrow cursor. Use this constant with the Sal.CursorSet function.32516
CURSOR_WaitInt32An hourglass cursor. Use this constant with the Sal.CursorSet function.32514
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.1
DATETIME_NullSalDateTimeRepresents a SAL null date/time.
DBP_AUTOCOMMITInt32Identifies the database autocommit parameter.1
DBP_BRANDInt32Identifies the database-engine brand parameter; its value is a DBV_BRAND constant.2
DBP_FETCHTHROUGHInt32Identifies the provider-specific fetch-through parameter.7
DBP_ISOLEVELInt32Identifies the transaction isolation-level parameter.9
DBP_LOCKWAITTIMEOUTInt32Identifies the provider-specific lock-wait timeout parameter, in seconds.5
DBP_NOPREBUILDInt32Identifies the provider-specific option that suppresses result-set prebuilding.8
DBP_PRESERVEInt32Identifies the provider-specific cursor-context preservation parameter.3
DBP_ROLLBACKONTIMEOUTInt32Identifies the provider-specific rollback-on-timeout parameter.6
DBP_VERSIONInt32Identifies the database-server version parameter.4
DBV_BRAND_ALLBASEInt32Identifies ALLBASE in database-brand results.10
DBV_BRAND_APPLEDALInt32Identifies APPLEDAL in database-brand results.22
DBV_BRAND_AS400Int32Identifies AS/400 in database-brand results.7
DBV_BRAND_CCAMODEL20Int32Identifies CCA Model 204 in database-brand results.21
DBV_BRAND_CINCOMSUPRAInt32Identifies Cincom Supra in database-brand results.20
DBV_BRAND_DB2Int32Identifies DB2 in database-brand results.2
DBV_BRAND_DBASEInt32Identifies DBASE in database-brand results.17
DBV_BRAND_EDASQLInt32Identifies EDA/SQL in database-brand results.25
DBV_BRAND_IMBSQLDSInt32Identifies IBM SQL/DS in database-brand results.13
DBV_BRAND_INFORMIXInt32Identifies Informix in database-brand results.5
DBV_BRAND_INFORMIXONLINEInt32Identifies Informix Online in database-brand results.24
DBV_BRAND_INGRESInt32Identifies INGRES in database-brand results.15
DBV_BRAND_INGRESSOPENSQLInt32Identifies Ingres OpenSQL in database-brand results.29
DBV_BRAND_INGRESSOPENSQLDInt32Identifies Ingres OpenSQL in database-brand results.30
DBV_BRAND_MSSQLInt32Identifies Microsoft SQL Server in database-brand results.102
DBV_BRAND_NETWAREInt32Identifies Novell NetWare in database-brand results.6
DBV_BRAND_NETWARESQLInt32Identifies Novell NetWare SQL in database-brand results.6
DBV_BRAND_NOCOMMIMERInt32Identifies Nocom Mimer in database-brand results.27
DBV_BRAND_NONSTOPSQLInt32Identifies Tandem Nonstop SQL in database-brand results.12
DBV_BRAND_ODBCInt32Identifies a in database-brand results.31
DBV_BRAND_ORACLEInt32Identifies Oracle in database-brand results.4
DBV_BRAND_ORACLE7Int32Identifies Oracle v. 7 in database-brand results.28
DBV_BRAND_ORACLE8Int32Identifies Oracle v. 8 in database-brand results.101
DBV_BRAND_OS2EEInt32Identifies IBM Database Manager in database-brand results.3
DBV_BRAND_RDBInt32Identifies DEC RDB in database-brand results.11
DBV_BRAND_RDBIIInt32Identifies Fujitsu RDBII in database-brand results.19
DBV_BRAND_SHAREBASEInt32Identifies Teradata Sharebase in database-brand results.23
DBV_BRAND_SNIDDB4Int32Identifies SNI DDB4 in database-brand results.18
DBV_BRAND_SNISESAMInt32Identifies SNI SESAM in database-brand results.14
DBV_BRAND_SNIUDSInt32Identifies SNI UDS in database-brand results.26
DBV_BRAND_SQLInt32Identifies SQLBase in database-brand results.1
DBV_BRAND_SQLACCESSInt32Identifies SQL Access in database-brand results.16
DBV_BRAND_SQLHOSTAPPInt32Identifies SQLHOSTAPP in database-brand results.99
DBV_BRAND_SYBASEInt32Identifies Sybase in database-brand results.8
DBV_BRAND_SYSTEM10Int32Identifies Sybase System 10 in database-brand results.32
DBV_BRAND_TERADATAInt32Identifies Teradata dbc in database-brand results.9
DDE_fAckInt32Marks a DDE acknowledgement as accepted.0x8000
DDE_fBusyInt32Marks a DDE acknowledgement as busy.0x4000
DDE_fNoDataInt32Requests notification without attached DDE data.0x4000
DDE_fReleaseInt32Transfers responsibility for releasing the DDE data memory.0x2000
DDE_fResponseInt32Marks DDE data as a response to a request.0x1000
DOCK_AnyInt32Allows a dialog to dock against any edge.0x0F
DOCK_BottomInt32Allows docking against the bottom edge.0x08
DOCK_LeftInt32Allows docking against the left edge.0x01
DOCK_NoneInt32Disables docking for a dockable dialog.0x00
DOCK_RightInt32Allows docking against the right edge.0x04
DOCK_TopInt32Allows docking against the top edge.0x02
DRIVE_CDROMInt32Identifies an optical drive.5
DRIVE_FixedInt32Identifies a fixed disk drive.3
DRIVE_FloppyInt32Identifies a removable disk drive.2
DRIVE_NetworkInt32Identifies a network drive.4
DRIVE_RAMInt32Identifies a RAM disk.6
DT_BooleanInt32Identifies the boolean data type returned by Sal.GetDataType.1
DT_DateTimeInt32Identifies the date time data type returned by Sal.GetDataType.2
DT_LongStringInt32Identifies the long string data type returned by Sal.GetDataType.7
DT_NumberInt32Identifies the number data type returned by Sal.GetDataType.3
DT_StringInt32Identifies the string data type returned by Sal.GetDataType.5
DW_DefaultInt32Indicates that the control uses its default maximum data length.-1
EVAL_DateInt32Identifies a date result from expression evaluation.3
EVAL_HandleInt32Identifies a handle result from expression evaluation.4
EVAL_IfInt32Identifies a if result from expression evaluation.100
EVAL_NumberInt32Identifies a number result from expression evaluation.1
EVAL_ObjectInt32Identifies an object result from expression evaluation.7
EVAL_SetInt32Identifies a set result from expression evaluation.99
EVAL_StringInt32Identifies a string result from expression evaluation.2
EVAL_TemplateInt32Identifies a template result from expression evaluation.5
EVENT_ERRORInt32Identifies an error trace event.1
EVENT_INFORMATIONInt32Identifies an informational trace event.4
EVENT_WARNINGInt32Identifies a warning trace event.2
FA_ArchiveInt32Includes files with the archive attribute in a file listing.32
FA_DirectoryInt32Includes subdirectories in a file listing.16
FA_DriveInt32Requests a listing of drives.0x4000
FA_ExclusiveInt32Restricts the listing to the requested file attributes.0x8000
FA_HiddenInt32Includes hidden files in a file listing.2
FA_QueuedInt32Identifies the legacy queued-file selection flag.0x2000
FA_ReadOnlyInt32Includes read-only files in a file listing.1
FA_StandardInt32Selects ordinary files without additional attribute flags.0
FA_SystemInt32Includes system files in a file listing.4
FETCH_DeleteInt32Indicates that the requested row was deleted.3
FETCH_EOFInt32Indicates that no row remains in the requested fetch direction.1
FETCH_OkInt32Indicates a successful row fetch.0
FETCH_UpdateInt32Indicates that the requested row was updated.2
FILE_CopyDestInt32Indicates failure to open the copy destination.2
FILE_CopyExistInt32Indicates that the copy destination already exists and overwriting was disabled.3
FILE_CopyOKInt32Indicates a successful file copy.0
FILE_CopyReadInt32Indicates a read error during a file copy.4
FILE_CopySrcInt32Indicates failure to open the copy source.1
FILE_CopyWriteInt32Indicates a write error during a file copy.5
FILE_SeekBeginInt32Measures a seek offset from the beginning of the file.0
FILE_SeekCurrentInt32Measures a seek offset from the current file position.1
FILE_SeekEndInt32Measures a seek offset from the end of the file.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".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".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.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.1
FMT_Format_CurrencyInt32Selects currency formatting for a compatible field or column.1
FMT_Format_DateInt32Selects date formatting for a compatible field or column.2
FMT_Format_DateTimeInt32Selects date time formatting for a compatible field or column.3
FMT_Format_DecimalInt32Selects decimal formatting for a compatible field or column.4
FMT_Format_InvisibleInt32Selects invisible formatting for a compatible field or column.5
FMT_Format_LowerCaseInt32Selects lower case formatting for a compatible field or column.8
FMT_Format_PercentageInt32Selects percentage formatting for a compatible field or column.6
FMT_Format_PictureInt32Selects picture formatting for a compatible field or column.-1
FMT_Format_TimeInt32Selects time formatting for a compatible field or column.7
FMT_Format_UnformattedInt32Selects unformatted formatting for a compatible field or column.0
FMT_Format_UpperCaseInt32Selects upper case formatting for a compatible field or column.9
FMT_Parm_iCurrDigitsInt32Specifies an option to obtain and define a field's profile-driven format. It represents the number of digits in the fractional part of a currency amount.17
FMT_Parm_iCurrencyInt32Specifies an option 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.1
FMT_Parm_iDateTypeInt32Specifies an option 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.13
FMT_Parm_iDigitsInt32Specifies an option 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.3
FMT_Parm_iLzeroInt32Specifies an option 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).4
FMT_Parm_iNegCurrInt32Specifies an option 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$-.18
FMT_Parm_iTimeInt32Specifies an option 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.5
FMT_Parm_iTLZeroInt32Specifies an option 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.16
FMT_Parm_s1159Int32Specifies an option 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.6
FMT_Parm_s2359Int32Specifies an option 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.7
FMT_Parm_sCurrencyInt32Specifies an option 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.8
FMT_Parm_sDecimalInt32Specifies an option to obtain and define a field's profile-driven format. It represents the symbol that separates the integer and fractional parts of a number.10
FMT_Parm_sLongDateInt32Specifies an option to obtain and define a field's profile-driven format. It represents a long date picture format such as d MMM, yyyy.15
FMT_Parm_sShortDateInt32Specifies an option to obtain and define a field's profile-driven format. It represents a short date picture format such as M/d/yy.14
FMT_Parm_sThousandInt32Specifies an option to obtain and define a field's profile-driven format. It represents the thousands separator character.11
FMT_Parm_sTimeInt32Specifies an option to obtain and define a field's profile-driven format. It represents the time separator character. For instance, (:) is the separator in (9:25).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.1
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.2
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.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.2
FMT_Profile_AustraliaInt32Identifies the Australia formatting profile.61
FMT_Profile_BelgiumInt32Identifies the Belgium formatting profile.32
FMT_Profile_BrazilInt32Identifies the Brazil formatting profile.55
FMT_Profile_DefaultInt32Identifies the system default profile maintained in the WIN.INI file. The settings associated with the system default profile determine a field's format.0
FMT_Profile_DenmarkInt32Identifies the Denmark formatting profile.45
FMT_Profile_FinlandInt32Identifies the Finland formatting profile.358
FMT_Profile_FranceInt32Identifies the France formatting profile.33
FMT_Profile_GermanyInt32Identifies the Germany formatting profile.49
FMT_Profile_ItalyInt32Identifies the Italy formatting profile.39
FMT_Profile_JapanInt32Identifies the Japan formatting profile.81
FMT_Profile_NetherlandsInt32Identifies the Netherlands formatting profile.31
FMT_Profile_NorwayInt32Identifies the Norway formatting profile.47
FMT_Profile_ProgramInt32Identifies a special profile whose settings determine a field's format. It allows an application to individually specify each field's format.-1
FMT_Profile_SpainInt32Identifies the Spain formatting profile.34
FMT_Profile_SwedenInt32Identifies the Sweden formatting profile.46
FMT_Profile_SwitzerlandInt32Identifies the Switzerland formatting profile.41
FMT_Profile_UnitedKingdomInt32Identifies the United Kingdom formatting profile.44
FMT_Profile_USAInt32Identifies the USA formatting profile.1
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$.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 $.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.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.1
FMT_Validate_DialogInt32This constant directs to display a dialog box if a format error occurs during a call to Sal.FmtValidateField.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.0
FONT_EnhBoldInt32Adds bold styling to a font.8
FONT_EnhDefaultInt32Selects the default font enhancement setting.1
FONT_EnhItalicInt32Adds italic styling to a font.2
FONT_EnhNormalInt32Specifies a font with no style enhancements.0
FONT_EnhStrikeOutInt32Adds a strikeout line to a font.16
FONT_EnhUnderlineInt32Underlines a font.4
FONT_GetPrinterInt32Selects printer fonts in legacy font enumeration APIs.2
FONT_GetScreenInt32Selects screen fonts in legacy font enumeration APIs.1
FORM_nFormHeightInt32Identifies the integer form parameter for the height of a given form window. It is used by the function Sal.FormGetParmNum.2
FORM_nFormPagesInt32Identifies the integer form parameter for the number of pages in a given form window. It is used by the function Sal.FormGetParmNum.3
FORM_nFormWidthInt32Identifies the integer form parameter for the width of a given form window. It is used by the function Sal.FormGetParmNum.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.1
HELP_FinderInt32The Sal.WinHelp function uses this constant to bring up the help Find Dialog.0x000B
HELP_HelpOnHelpInt32The Sal.WinHelp function uses this constant to display information on the Windows Help System itself.4
HELP_IndexInt32The Sal.WinHelp function uses this constant to display the index of available Help topics.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.0x101
HELP_QuitInt32The Sal.WinHelp function uses this constant to quit the Windows Help System that is currently open and in use.2
HELP_SetIndexInt32The Sal.WinHelp function uses this constant to set the current index for a multi-index help system.5
HTTP_DELETEInt32Identifies the HTTP DELETE request method.3
HTTP_GETInt32Identifies the HTTP GET request method.0
HTTP_POSTInt32Identifies the HTTP POST request method.2
HTTP_PUTInt32Identifies the HTTP PUT request method.1
hWndNULLSalWindowHandleRepresents a null SAL window handle.
IDABORTInt32Identifies the ABORT result returned by a message box.3
IDCANCELInt32Identifies the CANCEL result returned by a message box.2
IDIGNOREInt32Identifies the IGNORE result returned by a message box.5
IDNOInt32Identifies the NO result returned by a message box.7
IDOKInt32Identifies the OK result returned by a message box.1
IDRETRYInt32Identifies the RETRY result returned by a message box.4
IDYESInt32Identifies the YES result returned by a message box.6
LB_ErrInt32Indicates a failed list operation or a missing list item.-1
LB_ErrSpaceInt32Identifies the legacy insufficient-memory result for a list operation.-2
LB_OkInt32Indicates a successful list operation.0
MAX_DefaultDataFieldInt32Defines the default data-field length as 100 characters.100
MAX_DefaultMultilineInt32Defines the default multiline-field length as 1,000 characters.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.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.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.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.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.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.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.48
MB_IconHandInt32Supports MB_IconHand for backward compatibility; use MB_IconStop instead.16
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.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.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.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.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.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.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.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.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.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.3
NUMBER_NullSalNumberRepresents a SAL null number, distinct from a non-null zero.
OF_AppendInt32Requests the operation 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.3
OF_BinaryInt32Requests the operation 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.0x10000
OF_CreateInt32Requests the operation 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.0x1000
OF_DeleteInt32Requests the operation to delete a file. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions.0x0200
OF_ExistInt32Requests the operation 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.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.0x0100
OF_ReadInt32Requests the operation to open a file for reading only. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions.0
OF_ReadAppendInt32Requests the operation 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.4
OF_ReadWriteInt32Requests the operation to open a file for reading and writing. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions.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.0x8000
OF_Share_CompatInt32Requests the operation 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.0
OF_Share_Deny_NoneInt32Requests the operation 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.64
OF_Share_Deny_ReadInt32Requests the operation to open a file and deny other applications read access to it. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions.48
OF_Share_Deny_WriteInt32Requests the operation to open a file, denying other applications write access to it. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions.32
OF_Share_ExclusiveInt32Requests the operation to open a file, denying other applications read and write access to it. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions.16
OF_TextInt32Requests the operation to open a file in text mode. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions.0
OF_UnicodeInt32Requests the operation 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.0x20000
OF_UTF16Int32Requests the operation to open a file in UTF16 mode.0x20000
OF_UTF7Int32Requests the operation 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.0x40000
OF_UTF8Int32Requests the operation 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.0x80000
OF_WriteInt32Requests the operation to open a file for writing only. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions.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.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.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.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.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.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.3
PIC_ImageTypeBMPInt32Identifies BMP image data in SAL picture APIs.1
PIC_ImageTypeGIFInt32Identifies GIF image data in SAL picture APIs.6
PIC_ImageTypeICONInt32Identifies ICON image data in SAL picture APIs.2
PIC_ImageTypeJPEGInt32Identifies JPEG image data in SAL picture APIs.7
PIC_ImageTypeNoneInt32Identifies None image data in SAL picture APIs.0
PIC_ImageTypeNuVEQInt32Identifies Nu VEQ image data in SAL picture APIs.8
PIC_ImageTypePCXInt32Identifies PCX image data in SAL picture APIs.5
PIC_ImageTypeTIFFInt32Identifies TIFF image data in SAL picture APIs.4
PIC_ImageTypeWMFInt32Identifies WMF image data in SAL picture APIs.3
PLATFORM_CurrentInt32Reports the compatibility platform as PLATFORM_Windows.0
PLATFORM_SolarisInt32Identifies the legacy Solaris platform.1
PLATFORM_WindowsInt32Identifies the Windows platform.0
PRT_nCopyCountInt32Specifies an option 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.3
PRT_nDraftModeInt32Specifies an option 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.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.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.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.5
PRT_nPrintAllInt32Specifies an option 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.6
PRT_nShowFormPageRectInt32Specifies an option 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.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.8
ROW_EditedInt32indicates 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.4
ROW_HiddenInt32indicates 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.0x2000
ROW_HideMarksInt32indicates 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.64
ROW_MarkDeletedInt32indicates 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.32
ROW_NewInt32indicates 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.8
ROW_SelectedInt32indicates 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.2
ROW_UnusedFlag1Int32is 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.0x80
ROW_UnusedFlag2Int32is 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.0x100
RPT_BeforeBreakFooter1Int32Identifies the report notification before formatting the break footer 1 section.14
RPT_BeforeBreakFooter2Int32Identifies the report notification before formatting the break footer 2 section.15
RPT_BeforeBreakFooter3Int32Identifies the report notification before formatting the break footer 3 section.16
RPT_BeforeBreakFooter4Int32Identifies the report notification before formatting the break footer 4 section.17
RPT_BeforeBreakFooter5Int32Identifies the report notification before formatting the break footer 5 section.18
RPT_BeforeBreakFooter6Int32Identifies the report notification before formatting the break footer 6 section.19
RPT_BeforeBreakFooter7Int32Identifies the report notification before formatting the break footer 7 section.20
RPT_BeforeBreakFooter8Int32Identifies the report notification before formatting the break footer 8 section.21
RPT_BeforeBreakHeader1Int32Identifies the report notification before formatting the break header 1 section.6
RPT_BeforeBreakHeader2Int32Identifies the report notification before formatting the break header 2 section.7
RPT_BeforeBreakHeader3Int32Identifies the report notification before formatting the break header 3 section.8
RPT_BeforeBreakHeader4Int32Identifies the report notification before formatting the break header 4 section.9
RPT_BeforeBreakHeader5Int32Identifies the report notification before formatting the break header 5 section.10
RPT_BeforeBreakHeader6Int32Identifies the report notification before formatting the break header 6 section.11
RPT_BeforeBreakHeader7Int32Identifies the report notification before formatting the break header 7 section.12
RPT_BeforeBreakHeader8Int32Identifies the report notification before formatting the break header 8 section.13
RPT_BeforeDetailInt32Identifies the report notification before formatting the detail section.5
RPT_BeforePageFooterInt32Identifies the report notification before formatting the page footer section.2
RPT_BeforePageHeaderInt32Identifies the report notification before formatting the page header section.1
RPT_BeforeReportFooterInt32Identifies the report notification before formatting the report footer section.4
RPT_BeforeReportHeaderInt32Identifies the report notification before formatting the report header section.3
RPT_CmdFirstPageInt32Use this constant with the Sal.ReportCmd function to display the first page of a report.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.9
RPT_CmdLastPageInt32Use this constant with the Sal.ReportCmd function to display the last page of a report.2
RPT_CmdNextPageInt32Use this constant with the Sal.ReportCmd function to display the next page of a report.3
RPT_CmdPrevPageInt32Use this constant with the Sal.ReportCmd function to display the previous page of a report.8
RPT_CmdPrintInt32Use this constant with the Sal.ReportCmd function to print the report.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.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.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.5
RPT_DoneBreakFooter1Int32Identifies the report notification after formatting the break footer 1 section.56
RPT_DoneBreakFooter2Int32Identifies the report notification after formatting the break footer 2 section.57
RPT_DoneBreakFooter3Int32Identifies the report notification after formatting the break footer 3 section.58
RPT_DoneBreakFooter4Int32Identifies the report notification after formatting the break footer 4 section.59
RPT_DoneBreakFooter5Int32Identifies the report notification after formatting the break footer 5 section.60
RPT_DoneBreakFooter6Int32Identifies the report notification after formatting the break footer 6 section.61
RPT_DoneBreakFooter7Int32Identifies the report notification after formatting the break footer 7 section.62
RPT_DoneBreakFooter8Int32Identifies the report notification after formatting the break footer 8 section.63
RPT_DoneBreakHeader1Int32Identifies the report notification after formatting the break header 1 section.48
RPT_DoneBreakHeader2Int32Identifies the report notification after formatting the break header 2 section.49
RPT_DoneBreakHeader3Int32Identifies the report notification after formatting the break header 3 section.50
RPT_DoneBreakHeader4Int32Identifies the report notification after formatting the break header 4 section.51
RPT_DoneBreakHeader5Int32Identifies the report notification after formatting the break header 5 section.52
RPT_DoneBreakHeader6Int32Identifies the report notification after formatting the break header 6 section.53
RPT_DoneBreakHeader7Int32Identifies the report notification after formatting the break header 7 section.54
RPT_DoneBreakHeader8Int32Identifies the report notification after formatting the break header 8 section.55
RPT_DoneDetailInt32Identifies the report notification after formatting the detail section.47
RPT_DonePageFooterInt32Identifies the report notification after formatting the page footer section.44
RPT_DonePageHeaderInt32Identifies the report notification after formatting the page header section.43
RPT_DoneReportFooterInt32Identifies the report notification after formatting the report footer section.46
RPT_DoneReportHeaderInt32Identifies the report notification after formatting the report header section.45
RPT_EnableCancelInt32Specifies an option to enable the cancel button in the report preview panel. It should be specified in the nFlags parameter of Sal.ReportView function.8
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.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.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.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.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.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.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.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.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.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.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.11
RPT_LandscapeInt32Selects landscape page orientation for report printing.1
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.2
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.4
RPT_OutputBreakFooter1Int32Identifies the report notification before output of the break footer 1 section.35
RPT_OutputBreakFooter2Int32Identifies the report notification before output of the break footer 2 section.36
RPT_OutputBreakFooter3Int32Identifies the report notification before output of the break footer 3 section.37
RPT_OutputBreakFooter4Int32Identifies the report notification before output of the break footer 4 section.38
RPT_OutputBreakFooter5Int32Identifies the report notification before output of the break footer 5 section.39
RPT_OutputBreakFooter6Int32Identifies the report notification before output of the break footer 6 section.40
RPT_OutputBreakFooter7Int32Identifies the report notification before output of the break footer 7 section.41
RPT_OutputBreakFooter8Int32Identifies the report notification before output of the break footer 8 section.42
RPT_OutputBreakHeader1Int32Identifies the report notification before output of the break header 1 section.27
RPT_OutputBreakHeader2Int32Identifies the report notification before output of the break header 2 section.28
RPT_OutputBreakHeader3Int32Identifies the report notification before output of the break header 3 section.29
RPT_OutputBreakHeader4Int32Identifies the report notification before output of the break header 4 section.30
RPT_OutputBreakHeader5Int32Identifies the report notification before output of the break header 5 section.31
RPT_OutputBreakHeader6Int32Identifies the report notification before output of the break header 6 section.32
RPT_OutputBreakHeader7Int32Identifies the report notification before output of the break header 7 section.33
RPT_OutputBreakHeader8Int32Identifies the report notification before output of the break header 8 section.34
RPT_OutputDetailInt32Identifies the report notification before output of the detail section.26
RPT_OutputPageFooterInt32Identifies the report notification before output of the page footer section.23
RPT_OutputPageHeaderInt32Identifies the report notification before output of the page header section.22
RPT_OutputReportFooterInt32Identifies the report notification before output of the report footer section.25
RPT_OutputReportHeaderInt32Identifies the report notification before output of the report header section.24
RPT_PaperA3Int32Selects A 3 paper for report printing.8
RPT_PaperA4Int32Selects A 4 paper for report printing.9
RPT_PaperA5Int32Selects A 5 paper for report printing.11
RPT_PaperB5Int32Selects B 5 paper for report printing.13
RPT_PaperCustomInt32Selects Custom paper for report printing.256
RPT_PaperLegalInt32Selects Legal paper for report printing.5
RPT_PaperLetterInt32Selects Letter paper for report printing.1
RPT_PaperTabloidInt32Selects Tabloid paper for report printing.3
RPT_PortraitInt32Selects portrait page orientation for report printing.0
RPT_PrintAllInt32Use this constant with the Sal.ReportPrint function or the Sal.ReportPrintToFile function to print all pages of a report.0
RPT_PrintDraftInt32Use this constant with the Sal.ReportPrint function or the Sal.ReportPrintToFile function to print a report in draft mode.2
RPT_PrintEmptyReportInt32Specifies an option to print reports with empty data sets. This option adds one empty row to the data set passed to the reporting engine.32
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.4
RPT_PrintNoErrorsInt32Use this constant with the Sal.ReportPrint function or the Sal.ReportPrintToFile function to suppress error message dialog boxes during printing.16
RPT_PrintNoWarnInt32Use this constant with the Sal.ReportPrint function or the Sal.ReportPrintToFile function to suppress warnings about margin overflow and tiled pages.8
RPT_PrintNullStringsAsDefaultValuesInt32Specifies an option to pass NULL strings as strings with length 0.64
RPT_PrintParamCopiesInt32Use this flag with the Sal.ReportTablePrint function to specify the number of copies to print.3
RPT_PrintParamFirstPageInt32Use this flag with the Sal.ReportTablePrint function to specify the first page to print.1
RPT_PrintParamLastPageInt32Use this flag with the Sal.ReportTablePrint function to specify the last page to print.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.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.1
RPT_PrintTableHiddenColumnsInt32Specifies an option to include hidden columns when printing table windows.128
RPT_ProcessOnServerInt32Specifies an option to print or save the report on the server instead of returning it to the client.256
SAL_ARRAYInt32SAL type code indicating that a COM VARIANT maps to a SAL array value.6
SAL_BOOLEANInt32SAL type code indicating that a COM VARIANT maps to a SAL Boolean value.4
SAL_DATEInt32SAL type code indicating that a COM VARIANT maps to a SAL date value.5
SAL_NOTYPEInt32SAL type code indicating that a COM VARIANT has no corresponding SAL type.7
SAL_NUMBERInt32SAL type code indicating that a COM VARIANT maps to a SAL numeric value.3
SAL_OBJECTInt32SAL type code indicating that a COM VARIANT maps to a SAL object value.1
SAL_STRINGInt32SAL type code indicating that a COM VARIANT maps to a SAL string value.2
SAL_VARIANTInt32Identifies an unconverted COM VARIANT in SAL type mappings.0
SAM_ActivateInt32Notifies to top-level and MDI windows when the window is activated or deactivated. The wParam indicates whether the window is being activated or deactivated.0x2041
SAM_AnyEditInt32Notifies 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.0x2004
SAM_AppExitInt32Notifies 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!.0x2002
SAM_AppStartupInt32Notifies 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.0x2001
SAM_CacheFullInt32Notifies 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.0x200B
SAM_CaptionDoubleClickInt32Notifies 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.0x2012
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.0x2006
SAM_CloseInt32Notifies 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.0x10
SAM_ColumnSelectClickInt32Notifies 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.0x201B
SAM_ContextMenuInt32Notifies when the user right-clicks a window or presses Shift+F10.0x2048
SAM_CornerClickInt32Notifies 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.0x2016
SAM_CornerDoubleClickInt32Notifies 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.0x2017
SAM_CountRowsInt32Notifies 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.0x2011
SAM_CreateInt32Notifies 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.0x2001
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.0x2038
SAM_CustControlCmdInt32Notifies 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.0x2039
SAM_DDE_ClientExecuteInt32Notifies 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.0x3EB
SAM_DDE_ClientRequestInt32Notifies 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.0x3EA
SAM_DDE_DataChangeInt32Notifies 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.0x3E9
SAM_DestroyInt32Notifies 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.0x2002
SAM_DockInt32Notifies to a docking host (top-level window) when a docking dialog is about to change its docking orientation.0x204f
SAM_DockChangeInt32Notifies to a docking dialog box after it has changed its docking orientation.0x204d
SAM_DoubleClickInt32Notifies 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.0x2009
SAM_DragCanAutoStartInt32Notifies 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.0x2033
SAM_DragDropInt32Notifies 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.0x2032
SAM_DragEndInt32Notifies a top-level window, child table window, data field, multiline field, list box, combo box, and picture, indicating that drag mode has ended.0x2034
SAM_DragEnterInt32Notifies 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.0x202F
SAM_DragExitInt32Notifies 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.0x2031
SAM_DragMoveInt32Notifies 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.0x2030
SAM_DragNotifyInt32Notifies 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.0x2035
SAM_DragStartInt32Notifies a top-level window, child table window, data field, multiline field, list box, combo box, and picture, indicating that drag mode has started.0x202E
SAM_DropDownInt32Notifies 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.0x2019
SAM_DropFilesInt32Notifies 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.0x233
SAM_EndCellTabInt32Notifies 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.0x2018
SAM_FetchDoneInt32Notifies to a table window when Sal.TblPopulate, using the TBL_FillAllBackground value as its last parameter, completes the population of a table window.0x201A
SAM_FetchRowInt32Notifies 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.0x2007
SAM_FetchRowDoneInt32Notifies to a table window after populates a row.0x202D
SAM_FieldEditInt32Notifies 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.0x2005
SAM_HelpInt32Notifies 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.0x201C
SAM_ItemClickedInt32Notifies when the user click a node in a SalTreeControl control. wParam is the item handle. lParam is not used.0x2065
SAM_ItemCollapsedInt32Notifies when the user collapses a node in a SalTreeControl control. wParam is the item handle. lParam is not used.0x205D
SAM_ItemExpandedInt32Notifies when the user expands a node in a SalTreeControl control. wParam is the item handle. lParam is not used.0x205C
SAM_ItemSelectedInt32Notifies when the user select a node in a SalTreeControl control. wParam is the item handle. lParam is not used.0x205B
SAM_KillFocusInt32Notifies 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.0x1008
SAM_NavChangeInt32Notifies when a pane becomes active (i.e. displayed or selected).0x205E
SAM_NavGroupCollapseInt32Notifies 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.0x2061
SAM_NavGroupExpandInt32Notifies 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.0x2060
SAM_NavResizeInt32Notifies 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.0x205F
SAM_PrintInt32Notifies to a form window, data field, multiline text field, combo box, or push button while the object prints.0x2013
SAM_ReportFetchInitInt32Notifies 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.0x200D
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.0x200E
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.0x2010
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.0x201E
SAM_ReportStartInt32Notifies 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.0x200F
SAM_RowHeaderClickInt32Notifies 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.0x2014
SAM_RowHeaderDoubleClickInt32Notifies 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.0x2015
SAM_RowSetContextInt32Notifies 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.0x2037
SAM_RowValidateInt32Notifies 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.0x201D
SAM_ScrollBarInt32Notifies 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.0x200A
SAM_SetFocusInt32Notifies 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.0x1007
SAM_SqlErrorInt32Notifies 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.0x2003
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.0x2057
SAM_TblDoDetailsInt32Notifies 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.0x2037
SAM_TimerInt32Notifies 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.0x113
SAM_UserInt32This constant represents the value at which user-defined messages should start. The next consecutive user-defined message would be SAM_User+1.0x4000
SAM_ValidateInt32Notifies 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.0x200C
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).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).1
SB_LineUpInt32The SAM_ScrollBar message sends this constant (as the wParam variable) to indicate that you have scrolled one line more.0
SB_PageDownInt32The SAM_ScrollBar message sends this constant (as the wParam variable) to indicate that you have scrolled one page less.3
SB_PageUpInt32The SAM_ScrollBar message sends this constant (as the wParam variable) to indicate that you have scrolled one page more.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).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).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.6
SQLERROR_ReasonInt32Requests error-reason text from Sql.ErrorText.2
SQLERROR_RemedyInt32Requests remedy text from Sql.ErrorText; this implementation returns an empty string.4
STRING_NullSalStringRepresents a SAL null string.
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).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.0
TBL_ErrorInt32Returns this constant when a table window function is unsuccessful.0x7FFF1591
TBL_FillAllInt32The Sal.TblPopulate function uses this constant to populate an entire table window at once.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.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.0
TBL_Flag_EditLeftJustifyInt32instructs 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.0x4000
TBL_Flag_GrayedHeadersInt32instructs 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.0x200
TBL_Flag_HideColumnHeadersInt32instructs hides the column headers. Use TBL_Flag_HideColumnHeaders with the SalTblQueryTableFlags and SalTblSetTableFlags functions.0x10000
TBL_Flag_HScrollByColsInt32Retains the unsupported TBL_Flag_HScrollByCols option for source compatibility.0x100
TBL_Flag_MovableColsInt32lets the user drag-move columns. Use TBL_Flag_MoveableCols with the Sal.TblQueryTableFlags and Sal.TblSetTableFlags functions.2
TBL_Flag_SelectableColsInt32lets the user select columns by clicking the column title. Use TBL_Flag_SelectableCols with the Sal.TblQueryTableFlags and Sal.TblSetTableFlags functions.0x80
TBL_Flag_ShowVScrollInt32Retains the unsupported TBL_Flag_ShowVScroll option for source compatibility.4
TBL_Flag_ShowWaitCursorInt32Retains the unsupported TBL_Flag_ShowWaitCursor option for source compatibility.0x400
TBL_Flag_SingleSelectionInt32ensures 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.0x1000
TBL_Flag_SizableColsInt32lets the user drag-size columns. Use TBL_Flag_SizableCols with the Sal.TblQueryTableFlags and Sal.TblSetTableFlags functions.1
TBL_Flag_SuppressLastColLineInt32suppresses painting of the dotted lines that separate columns. Use TBL_Flag_SuppressRowLines with the Sal.TblQueryTableFlags and Sal.TblSetTableFlags functions.0x2000
TBL_Flag_SuppressRowLinesInt32suppresses painting of the dotted lines that separate rows. Use TBL_Flag_SuppressRowLines with the Sal.TblQueryTableFlags and Sal.TblSetTableFlags functions.0x800
TBL_MaxRowInt32Identifies 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.0x7FFF1590
TBL_MinRowInt32Identifies 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.-2147423632
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.-0x7FFF158E
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).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.0
TBL_RowDeletedInt32This constant is returned to the Sal.TblFetchRow function when can not fetch the specified row because another transaction deleted it.2
TBL_RowFetchedInt32This constant is returned to the Sal.TblFetchRow function when the row is successfully fetched.1
TBL_RowHdr_MarkEditsInt32displays 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.1
TBL_RowHdr_RowsSizableInt32lets the user drag-size the row height. Use TBL_RowHdr_RowsSizable with the Sal.TblDefineRowHeader and Sal.TblQueryRowHeader functions.32
TBL_RowHdr_ShareColorInt32sets 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.16
TBL_RowHdr_SizableInt32lets the user drag-size the row header. Use TBL_RowHdr_Sizable with the Sal.TblDefineRowHeader and Sal.TblQueryRowHeader functions.4
TBL_RowHdr_VisibleInt32makes the row header visible. Use TBL_RowHdr_Visible with the Sal.TblDefineRowHeader and Sal.TblQueryRowHeader functions.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.2
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.1
TBL_SetFirstRowInt32This constant is used by Sal.TblSetRow to change the current focus row in a table window to the first row.3
TBL_SetLastRowInt32This constant is used by Sal.TblSetRow to change the current focus row in a table window to the last row.2
TBL_SetNextRowInt32This constant is used by Sal.TblSetRow to change the current focus row in a table window to the next row.0
TBL_SetPrevRowInt32This constant is used by Sal.TblSetRow to change the current focus row in a table window to the previous row.1
TBL_SortDecreasingInt32You specify this constant for Sal.TblSortRows when you want to sort the table window rows in descending order.0
TBL_SortIncreasingInt32You specify this constant for Sal.TblSortRows when you want to sort the table window rows in ascending order.1
TBL_Split_AdjustableInt32Retains the unsupported TBL_Split_Adjustable option for source compatibility.1
TBL_TempRowInt32Identifies the temporary table row used when context must be moved away from a data row.0x7FFF1591
TBL_XOverLockedColumnsInt32Sal.TblObjectsFromPoint returns this constant when the X coordinate is in a locked column.0x0200
TBL_XOverLockedColumnsBorderInt32Sal.TblObjectsFromPoint returns this constant when the X coordinate is between a locked column and an unlocked column.0x0800
TBL_XOverRowHeaderInt32Sal.TblObjectsFromPoint returns this constant when the X coordinate is in a row header.0x0100
TBL_XOverUnlockedColumnsInt32Sal.TblObjectsFromPoint returns this constant when the X coordinate is in an unlocked column.0x0400
TBL_YOverColumnHeaderInt32Sal.TblObjectsFromPoint returns this constant when the Y coordinate is in a column header.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.0x04
TBL_YOverSplitBarInt32Retains the unsupported TBL_YOverSplitBar option for source compatibility.0x08
TBL_YOverSplitRowsInt32Retains the unsupported TBL_YOverSplitRows option for source compatibility.0x02
TPM_CenterAlignInt32Use this constant with Sal.TrackPopupMenu to center-align the pop-up menu.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.0x4000
TPM_CursorXInt32Use this constant with Sal.TrackPopupMenu to tell to use the mouse cursor location instead of nX.0x100
TPM_CursorYInt32Use this constant with Sal.TrackPopupMenu to tell to use the mouse cursor location instead of nY.0x200
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.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).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.8
TPM_RightButtonInt32Use this constant with Sal.TrackPopupMenu to establish the right mouse button as the one with which to click on menu items.2
TRACE_EventInt32Selects event-log output for application tracing.4
TRACE_FileInt32Selects file output for application tracing.1
TRACE_OutputInt32Selects diagnostic output for application tracing.2
TRACE_stdoutInt32Selects standard output for application tracing.3
TraceApplicationTraceSwitchControls the diagnostic level for application operations.
TraceFilesTraceSwitchControls the diagnostic level for files operations.
TraceReportsTraceSwitchControls the diagnostic level for reports operations.
TraceSQLTraceSwitchControls the diagnostic level for sql database operations.
TraceSystemTraceSwitchControls the diagnostic level for system operations.
TraceTableWindowTraceSwitchControls the diagnostic level for table-window operations.
TraceWindowsTraceSwitchControls the diagnostic level for windows operations.
TYPE_AccFrameInt32Specifies an option to specify that a child window’s object type is an accessory frame.0x10000000
TYPE_ActiveXInt32Specifies an option to specify that a child window's object type is an ActiveX control.0x08000000
TYPE_AnyInt32Specifies an option to specify the first child window of any type. Use TYPE_Any with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions.0x7fffffff
TYPE_BkgdTextInt32Specifies an option 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.0x800
TYPE_CheckBoxInt32Specifies an option 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.0x80
TYPE_ChildGridInt32Retains the unsupported TYPE_ChildGrid option for source compatibility.0x00800000
TYPE_ChildTableInt32Specifies an option 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.0x80000
TYPE_ComboBoxInt32Specifies an option 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.0x4000
TYPE_CustControlInt32Specifies an option 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.0x04000000
TYPE_DataFieldInt32Specifies an option 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.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.0x20000000
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.0x00400000
TYPE_DialogBoxInt32Specifies an option to specify that a window's object type is dialog box. Use TYPE_DialogBox with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions.4
TYPE_FormToolBarInt32Specifies an option 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.0x200000
TYPE_FormWindowInt32Specifies an option to specify that a window's object type is form window. Use TYPE_FormWindow with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions.1
TYPE_FrameInt32Specifies an option to specify that a child window's object type is frame. Use TYPE_Frame with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions.0x10000
TYPE_GridWindowInt32Retains the unsupported TYPE_GridWindow option for source compatibility.0x40000000
TYPE_GroupBoxInt32Specifies an option 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.0x100
TYPE_HorizScrollBarInt32Specifies an option 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.0x200
TYPE_LineInt32Specifies an option to specify that a child window's object type is line. Use TYPE_Line with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions.0x8000
TYPE_ListBoxInt32Specifies an option 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.0x2000
TYPE_MDIWindowInt32Specifies an option to specify that a window's object type is MDI window. Use TYPE_MDIWindow with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions.0x100000
TYPE_MultilineTextInt32Specifies an option 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.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.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.631
TYPE_OptButtonInt32Specifies an option 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.0x2000000
TYPE_PictureInt32Specifies an option to specify that a child window's object type is picture. Use TYPE_Picture with the Sal.GetFirstChild, Sal.GetNextChild, and Sal.GetType functions.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.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.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.0x00000245
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.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.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.2
TYPE_TreeControlInt32This constant specifies that a child window's object type is a tree control.0x0000026B
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.0x400
VALIDATE_CancelInt32Rejects validation and retains focus on the edited control.0
VALIDATE_OkInt32Accepts validation without clearing the edited flag.1
VALIDATE_OkClearFlagInt32Accepts validation and requests that the edited flag be cleared.2
VT_BOOLInt32COM VARIANT type code for a Boolean value.11
VT_BSTRInt32COM VARIANT type code for a BSTR (string) value.8
VT_CYInt32COM VARIANT type code for a currency value.6
VT_DATEInt32COM VARIANT type code for a date value.7
VT_DECIMALInt32COM VARIANT type code for a decimal value.14
VT_DISPATCHInt32COM VARIANT type code for an IDispatch pointer.9
VT_EMPTYInt32Identifies an empty COM VARIANT.0
VT_ERRORInt32COM VARIANT type code for a SCODE error value.10
VT_I1Int32COM VARIANT type code for a signed 8-bit integer.16
VT_I2Int32COM VARIANT type code for a 16-bit signed integer.2
VT_I4Int32COM VARIANT type code for a 32-bit signed integer.3
VT_R4Int32COM VARIANT type code for a 4-byte floating-point value.4
VT_R8Int32COM VARIANT type code for an 8-byte floating-point value.5
VT_UI1Int32COM VARIANT type code for an unsigned 8-bit integer (byte).17
VT_UI2Int32COM VARIANT type code for an unsigned 16-bit integer.18
VT_UI4Int32COM VARIANT type code for an unsigned 32-bit integer.19
VT_UNKNOWNInt32COM VARIANT type code for an IUnknown pointer.13
VT_VARIANTInt32COM VARIANT type code indicating the value is itself a VARIANT.12
VT_VOIDInt32COM VARIANT type code for a C-style void value.24
Window_InvalidInt32The Sal.GetWindowState function returns this constant when the specified window handle is not valid.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.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.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.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.2
WM_DDE_AckInt32Identifies a DDE acknowledgement message.0x3E4
WM_DDE_AdviseInt32Windows message identifier for a WM_DDE_ADVISE message, used to establish a DDE data link.0x3E2
WM_DDE_DataInt32Windows message identifier for a WM_DDE_DATA message, used to send data in a DDE conversation.0x3E5
WM_DDE_ExecuteInt32Windows message identifier for a WM_DDE_EXECUTE message, used to send a command string in a DDE conversation.0x3E8
WM_DDE_FirstInt32Windows message identifier for the first message in the DDE message range.0x3E0
WM_DDE_InitiateInt32Windows message identifier for a WM_DDE_INITIATE message, used to begin a DDE conversation.0x3E0
WM_DDE_PokeInt32Windows message identifier for a WM_DDE_POKE message, used to send unsolicited data in a DDE conversation.0x3E7
WM_DDE_RequestInt32Windows message identifier for a WM_DDE_REQUEST message, used to request data in a DDE conversation.0x3E6
WM_DDE_TerminateInt32Windows message identifier for a WM_DDE_TERMINATE message, used to end a DDE conversation.0x3E1
WM_DDE_UnadviseInt32Windows message identifier for a WM_DDE_UNADVISE message, used to end a DDE data link.0x3E3

Properties

Static member CultureInfo

CultureInfo: Gets the current Wisej application culture.

Static member CurrentModule

Assembly: Identifies the assembly associated with the current control context.

Static member FileName

String: Stores the file name returned by the file dialog for the current session.

Static member FilterIndex

Int32: Stores the file filter index returned by the file dialog for the current session.

Static member hWndFocus

SalWindowHandle: Identifies the focused control recorded for the current user session.

Static member hWndForm

SalWindowHandle: Identifies the form or dialog in the current SAL message context.

Static member hWndItem

SalWindowHandle: Identifies the control currently receiving SAL message actions.

Static member hWndMDI

SalWindowHandle: Identifies the MDI window in the current SAL message context.

Static member lParam

SalNumber: Contains the lParam value for the current SAL message.

Static member Namespace

String: Specifies the application namespace used to resolve migrated types.

Static member nArgCount

SalNumber: Contains the recorded number of application startup arguments.

Static member strArgArray

SalArray<SalString>: Provides the mutable SAL array of application startup arguments.

Static member wParam

SalNumber: Contains the wParam value for the current SAL message.

Methods

Static member GetExceptionHResult(ex)

Retrieves an exception's HRESULT.

ParameterTypeDescription
exExceptionThe exception, or null.

Returns: Int32. The HRESULT, or zero if the argument is null or retrieval fails.

Uses reflection to read HResult and logs retrieval failures.

Static member GetInstance(type)

Retrieves or creates the session instance of a type.

ParameterTypeDescription
typeTypeThe non-null type to retrieve. Creation requires a public parameterless constructor.

Returns: Object. The stored instance, a newly created instance, or null when the type cannot be constructed.

Instances are stored under the type's full name. Migrated AppStaticVariables can additionally be keyed by the current module. Design mode uses a process-level fallback repository. Without a runtime session, the method attempts to abort the calling thread. Construction failures are logged.

Static member IsSessionExpired()

Checks whether the current Wisej session is unavailable, disposed, or absent from the session cache.

Returns: Boolean. True when any of those conditions holds; otherwise, false.

Static member LogNotImplemented()

Logs the calling method as unimplemented when verbose system tracing is enabled.

Static member LogNotSupported()

Logs the calling method as unsupported when verbose system tracing is enabled.

Static member TraceError(traceswitch, text, args)

Writes a formatted error message when the trace switch enables that level.

ParameterTypeDescription
traceswitchTraceSwitchThe switch that controls emission and supplies the category name.
textStringThe composite format string.
argsObject[]The values substituted into the format string.

Static member TraceException(traceswitch, exception, level)

Writes exception details when the switch level is at least the requested level.

ParameterTypeDescription
traceswitchTraceSwitchThe switch that controls emission and identifies the category.
exceptionExceptionThe exception to describe, including its inner exception when present.
levelTraceLevelThe minimum enabled trace level required to emit the message.

Static member TraceInfo(traceswitch, text, args)

Writes a formatted informational message when the trace switch enables that level.

ParameterTypeDescription
traceswitchTraceSwitchThe switch that controls emission and supplies the category name.
textStringThe composite format string.
argsObject[]The values substituted into the format string.

Static member TraceVerbose(traceswitch, text, args)

Writes a formatted verbose message when the trace switch enables that level.

ParameterTypeDescription
traceswitchTraceSwitchThe switch that controls emission and supplies the category name.
textStringThe composite format string.
argsObject[]The values substituted into the format string.

Static member TraceWarning(traceswitch, text, args)

Writes a formatted warning message when the trace switch enables that level.

ParameterTypeDescription
traceswitchTraceSwitchThe switch that controls emission and supplies the category name.
textStringThe composite format string.
argsObject[]The values substituted into the format string.