Skip to main content
Version: 2023

SalWindowHandle

Namespace: PPJ.Runtime

Assembly: PPJ.Web.49 (4.9.0.0)

SAL WindowHandle basic type. This class holds either a raw handle (a handle to SalSqlHandle, SalSqlSessionHandle, SalFileHandle, or a native control handle) or a weak reference to a .NET control.

public struct SalWindowHandle : ValueType, IConvertible, IComparable, ISalType, ISerializable, IXmlSerializable, IWisejSerializable

Constructors

Instance memberSalWindowHandle(handle)

Creates a new SalWindowHandle.

NameTypeDescription
handleIntPtr

Instance memberSalWindowHandle(ctrl)

Creates a new SalWindowHandle.

NameTypeDescription
ctrlControl

Properties

Instance memberControl

Control: Returns the referenced control instance.

Instance memberIsNull

Boolean: Checks if this SalWindowHandle object contain a null value.

Instance memberValue

IntPtr: Returns the Handle value.

Methods

Instance memberAddListItem(sName)

Adds a string to a list box or combo box.

ParameterTypeDescription
sNameSalString

Returns: SalNumber.

Instance memberAnyRows(nFlagsOn, nFlagsOff)

Determines whether any rows in the specified table window match certain flags.

ParameterTypeDescription
nFlagsOnSalNumber
nFlagsOffSalNumber

Returns: SalBoolean.

Instance memberBringWindowToTop()

Brings a window to the top of all overlapping windows.

Returns: SalBoolean.

Instance memberCenterWindow()

Centers a window. If the window is a top-level window, it centers it on the desktop. If the window is a child window, it centers it on top of its parent.

Returns: SalBoolean.

Instance memberClear()

Clears the value from a data field, multiline field, or table window column.

Returns: SalBoolean.

Instance memberClearCursor(nType)

Clears a window's cursor.

ParameterTypeDescription
nTypeSalNumber

Returns: SalBoolean.

Instance memberClearImage()

Deletes the contents of a picture.

Returns: SalBoolean.

Instance memberClearList()

Deletes all entries from a list box or combo box.

Returns: SalBoolean.

Instance memberClearSelection()

Deselects all rows of a table window.

Returns: SalBoolean.

Instance memberColumnAverage(nColumnID, nFlagsOn, nFlagsOff)

Computes the average of all column values or only specified column values in a table window.

ParameterTypeDescription
nColumnIDSalNumber
nFlagsOnSalNumber
nFlagsOffSalNumber

Returns: SalNumber.

Instance memberColumnSum(nColumnID, nFlagsOn, nFlagsOff)

Computes the sum of all column values or only specified column values in a table window.

ParameterTypeDescription
nColumnIDSalNumber
nFlagsOnSalNumber
nFlagsOffSalNumber

Returns: SalNumber.

Instance memberCompareTo(obj)

compare to an object

ParameterTypeDescription
objObject

Returns: Int32.

Instance memberCompareTo(handle)

compare to a SalWindowHandle

ParameterTypeDescription
handleSalWindowHandle

Returns: Int32.

Instance memberCopyRows(nFlagsOn, nFlagsOff)

Copies the contents of the specified table window rows to the Clipboard in text format.

ParameterTypeDescription
nFlagsOnSalNumber
nFlagsOffSalNumber

Returns: SalBoolean.

Instance memberCreateColumn(nColumnPos, nDispWidth, nMaxChars, sTitle)

Creates a table window column of string data type at runtime.

ParameterTypeDescription
nColumnPosSalNumber
nDispWidthSalNumber
nMaxCharsSalNumber
sTitleSalString

Returns: SalNumber.

Instance memberCreateColumnEx(nColumnPos, nDispWidth, sTitle, nMaxChars, nDatatype)

Creates a table window column using a given data type at runtime. Allowed types are DT_String, DT_Number and DT_DateTime

ParameterTypeDescription
nColumnPosSalNumber
nDispWidthSalNumber
sTitleSalString
nMaxCharsSalNumber
nDatatypeSalNumber

Returns: SalNumber.

Instance memberDefineCheckBoxColumn(nFlags, sCheckedValue, sUncheckedValue)

Define a column as a check box.

ParameterTypeDescription
nFlagsSalNumber
sCheckedValueSalString
sUncheckedValueSalString

Returns: SalBoolean.

Instance memberDefineDropDownListColumn(nFlags, nLines)

Define a column as a drop down list.

ParameterTypeDescription
nFlagsSalNumber
nLinesSalNumber

Returns: SalBoolean.

Instance memberDefinePopupEditColumn(nFlags, nLines)

Define a column as a popup edit window.

ParameterTypeDescription
nFlagsSalNumber
nLinesSalNumber

Returns: SalBoolean.

Instance memberDefineRowHeader(sTitle, nWidth, nFlags, column)

Defines the appearance and behavior of a table window's row header.

ParameterTypeDescription
sTitleSalString
nWidthSalNumber
nFlagsSalNumber
columnControl

Returns: SalBoolean.

Instance memberDefineSplitWindow(nRowsLowerHalf, bDragAdjust)

Splits a table window horizontally.

ParameterTypeDescription
nRowsLowerHalfSalNumber
bDragAdjustSalBoolean

Returns: SalBoolean.

Instance memberDeleteListItem(nIndex)

Deletes a list box or combo box entry.

ParameterTypeDescription
nIndexSalNumber

Returns: SalNumber.

Instance memberDeleteRow(nRow, nFlag)

Deletes a row from a table window but not from the database.

ParameterTypeDescription
nRowSalNumber
nFlagSalNumber

Returns: SalBoolean.

Instance memberDeleteSelected(hSql)

Applies a SQL DELETE statement to all table window rows with the ROW Selected flag.

ParameterTypeDescription
hSqlSalSqlHandle

Returns: SalBoolean.

Instance memberDeleteSelected(hSql, errorHandler)

Applies a SQL DELETE statement to all table window rows with the ROW Selected flag.

ParameterTypeDescription
hSqlSalSqlHandle
errorHandlerWhenSqlErrorHandler

Returns: SalBoolean.

Instance memberDestroyColumns()

Destroys all automatic columns created by SalTblCreateColumn or SalTblPopulate at runtime. This function only works on table windows that contain only automatic columns.

Returns: SalBoolean.

Instance memberDestroyWindow()

Destroys a form window, a top-level table window, or a modeless dialog box created with SalCreateWindow.

Returns: SalBoolean.

Instance memberDisableWindow()

Disables keyboard and mouse input to a window. If the window contains text (for example, a push button), the text is grayed. If the window is a data field, it cannot receive the focus.

Returns: SalBoolean.

Instance memberDisableWindowAndLabel()

Disables keyboard and mouse input to a window and grays out its associated label. A label is the label control that immediately precedes the window in the outline. The label control must have a mnemonic. If the window contains text (for example, a push button), the text is grayed. If the window is a data field, it cannot receive the focus.

Returns: SalBoolean.

Instance memberDoDeletes(hSql, nFlagsOn)

Applies a SQL DELETE statement to all table window rows that have nFlagsOn flags.

ParameterTypeDescription
hSqlSalSqlHandle
nFlagsOnSalNumber

Returns: SalBoolean.

Instance memberDoDeletes(hSql, nFlagsOn, errorHandler)

Applies a SQL DELETE statement to all table window rows that have nFlagsOn flags.

ParameterTypeDescription
hSqlSalSqlHandle
nFlagsOnSalNumber
errorHandlerWhenSqlErrorHandler

Returns: SalBoolean.

Instance memberDoInserts(hSql, bClearFlags)

Applies a SQL INSERT statement to all the rows in a table window that have the ROW New flag.

ParameterTypeDescription
hSqlSalSqlHandle
bClearFlagsSalBoolean

Returns: SalBoolean.

Instance memberDoInserts(hSql, bClearFlags, errorHandler)

Applies a SQL INSERT statement to all the rows in a table window that have the ROW New flag.

ParameterTypeDescription
hSqlSalSqlHandle
bClearFlagsSalBoolean
errorHandlerWhenSqlErrorHandler

Returns: SalBoolean.

Instance memberDoUpdates(hSql, bClearFlags)

Applies a SQL UPDATE statement to all table window rows with the Row Edited flag.

ParameterTypeDescription
hSqlSalSqlHandle
bClearFlagsSalBoolean

Returns: SalBoolean.

Instance memberDoUpdates(hSql, bClearFlags, errorHandler)

Applies a SQL UPDATE statement to all table window rows with the Row Edited flag.

ParameterTypeDescription
hSqlSalSqlHandle
bClearFlagsSalBoolean
errorHandlerWhenSqlErrorHandler

Returns: SalBoolean.

Instance memberDrawMenuBar()

Redraws the menu bar for a given form window or top-level table window.

Returns: SalBoolean.

Instance memberEnableWindow()

Enables keyboard and mouse input to a window.

Returns: SalBoolean.

Instance memberEnableWindowAndLabel()

Enables keyboard and mouse input to a window and enables its associated label as well. A label is the label control that immediately precedes the window in the outline.

Returns: SalBoolean.

Instance memberEndDialog(nReturn)

Destroys a modal dialog box and returns control to the caller of SalModalDialog.

ParameterTypeDescription
nReturnSalNumber

Returns: SalBoolean.

Instance memberFetchRow(nRow)

Sends a SAM_FetchRow message to a table window if the row you specify is not currently in the table window cache.

ParameterTypeDescription
nRowSalNumber

Returns: SalNumber.

Instance memberFindChild(sWindowName)

This function finds a child window of a given name in the specified window.

ParameterTypeDescription
sWindowNameSalString

Returns: SalWindowHandle.

Instance memberFindControl(name)

Finds a member control in the specified control. Used as a helper functions to resolve unqualified references.

ParameterTypeDescription
nameString

Returns: Control.

Instance memberFindMember(name)

Find a member in the specified control. Used as a helper functions to resolve unqualified references.

ParameterTypeDescription
nameString

Returns: ReferenceInfo.

Instance memberFindNextRow(nRow, nFlagsOn, nFlagsOff)

ParameterTypeDescription
nRowSalNumber&
nFlagsOnSalNumber
nFlagsOffSalNumber

Returns: SalBoolean.

Instance memberFindPrevRow(nRow, nFlagsOn, nFlagsOff)

ParameterTypeDescription
nRowSalNumber&
nFlagsOnSalNumber
nFlagsOffSalNumber

Returns: SalBoolean.

Instance memberFireWindowActions(nMsg, nMywParam, nMylParam)

Dispatches the specified message (Window Actions) directly to the control's WindowActions event handlers, without going through Windows message loop.

ParameterTypeDescription
nMsgSalNumber
nMywParamSalNumber
nMylParamSalNumber

Returns: SalNumber.

Instance memberFireWindowActionsToChildren(nMsg, nMywParam, nMylParam)

Dispatches the specified message (Window Actions) directly to the children's WindowActions event handlers, without going through Windows message loop.

ParameterTypeDescription
nMsgInt32
nMywParamSalNumber
nMylParamSalNumber

Returns: SalBoolean.

Instance memberFormUnitsToPixels(nFormUnits, bVertical)

Computes the number of pixels in the number of form units. Form units are a unit of measurement used by functions which move and position objects. Form units are computed using physical units (pixels) in conjunction with the window's font size.

ParameterTypeDescription
nFormUnitsSalNumber
bVerticalSalBoolean

Returns: SalNumber.

Instance memberGetCellType(nType)

ParameterTypeDescription
nTypeSalNumber&

Returns: SalBoolean.

Instance memberGetCellType()

Indicates whether a column is a checkbox, drop down list, popup edit, or standard column.

Returns: SalNumber.

Instance memberGetClassName()

Return the name of a window's class as a string.

Returns: SalString.

Instance memberGetColumnFlags(nFlags)

Tests the state of a table window column's flags.

ParameterTypeDescription
nFlagsSalNumber

Returns: SalBoolean.

Instance memberGetColumnID()

Gets a table window column's identifier.

Returns: SalNumber.

Instance memberGetColumnPosition()

Gets a table window column's relative position.

Returns: SalNumber.

Instance memberGetColumnText(nColumnID, sText)

ParameterTypeDescription
nColumnIDSalNumber
sTextSalString&

Returns: SalBoolean.

Instance memberGetColumnText(nColumnID)

Gets data from a column of a table window's context row.

ParameterTypeDescription
nColumnIDSalNumber

Returns: SalString.

Instance memberGetColumnTitle(sText, nMaxLen)

ParameterTypeDescription
sTextSalString&
nMaxLenSalNumber

Returns: SalNumber.

Instance memberGetColumnTitle(nMaxLen)

Gets the title of a table window column.

ParameterTypeDescription
nMaxLenSalNumber

Returns: SalString.

Instance memberGetColumnWidth(nFormUnits)

ParameterTypeDescription
nFormUnitsSalNumber&

Returns: SalBoolean.

Instance memberGetColumnWidth()

Returns the width (in form units) of a table window column.

Returns: SalNumber.

Instance memberGetColumnWindow(nCol, nFlags)

Gets the handle of a table window column.

ParameterTypeDescription
nColSalNumber
nFlagsSalNumber

Returns: SalWindowHandle.

Instance memberGetContextRow()

Returns a table window's current context row. Before sending a SAM_FetchRow message, automatically sets the context row so that assignments made while processing the message reference the correct row.

Returns: SalNumber.

Instance memberGetControlType()

Returns an object's type.

Returns: SalNumber.

Instance memberGetDataLength()

Returns the maximum length of a data field, multiline text field, or table window column.

Returns: SalNumber.

Instance memberGetDataType()

Returns a data field's or table window column's data type.

Returns: SalNumber.

Instance memberGetDefaultButton()

Returns the handle of the default push button on a form window or dialog box. The default push button is the one that has the focus by default.

Returns: SalWindowHandle.

Instance memberGetFirstChild(nTypeMask)

Returns the handle of the first child window of the specified type. You can use this function to get the handles of MDI child windows.

ParameterTypeDescription
nTypeMaskSalNumber

Returns: SalWindowHandle.

Instance memberGetFont(sName, nSize, nEnhancement)

ParameterTypeDescription
sNameSalString&
nSizeSalNumber&
nEnhancementSalNumber&

Returns: SalBoolean.

Instance memberGetFormat(sPicture)

ParameterTypeDescription
sPictureSalString&

Returns: SalBoolean.

Instance memberGetFormat()

Gets the picture format of a data field or table window column.

Returns: SalString.

Instance memberGetFormatCode()

Returns the current format of a data field or table window column.

Returns: SalNumber.

Instance memberGetFormattedText(sText, bFormat)

ParameterTypeDescription
sTextSalString&
bFormatSalBoolean

Returns: SalBoolean.

Instance memberGetFormattedText(bFormat)

Copies the contents of a data field or table window column to a string. This function also lets you copy the format of the data.

ParameterTypeDescription
bFormatSalBoolean

Returns: SalString.

Instance memberGetImageBytes(sImageBytes, nType)

ParameterTypeDescription
sImageBytesSalString&
nTypeSalNumber&

Returns: SalNumber.

Instance memberGetImageDescription(sDesc, nMaxLen)

ParameterTypeDescription
sDescSalString&
nMaxLenSalNumber

Returns: SalNumber.

Instance memberGetImageDescription(nMaxLen)

Retrieves a description of a picture's contents.

ParameterTypeDescription
nMaxLenSalNumber

Returns: SalString.

Instance memberGetImageString(nFormat, sPict)

ParameterTypeDescription
nFormatSalNumber
sPictSalString&

Returns: SalNumber.

Instance memberGetImageString(nFormat)

Return the contents of a picture into a string.

ParameterTypeDescription
nFormatSalNumber

Returns: SalString.

Instance memberGetInputMask(sMask)

ParameterTypeDescription
sMaskSalString&

Returns: SalBoolean.

Instance memberGetInputMask()

Gets the input mask of a data field or table window column.

Returns: SalString.

Instance memberGetLabel()

Retrieves the window handle of the label (label control) that is associated with the hWndTarget parameter. There must be a mnemonic in that label, and it must immediately precede hWndTarget in the outline, or this function will fail.

Returns: SalWindowHandle.

Instance memberGetLabelText(sText, nMaxLength)

ParameterTypeDescription
sTextSalString&
nMaxLengthSalNumber

Returns: SalNumber.

Instance memberGetLabelText(nMaxLength)

Retrieves the text of the label associated to a control. Important: The label control does not require a mnemonic for the functions listed above to operate.

ParameterTypeDescription
nMaxLengthSalNumber

Returns: SalString.

Instance memberGetLinesPerRow(nLines)

ParameterTypeDescription
nLinesSalNumber&

Returns: SalBoolean.

Instance memberGetLinesPerRow()

Retrieves the height of a row in lines.

Returns: SalNumber.

Instance memberGetListItemsCount()

Returns the number of list box or combo box entries.

Returns: SalNumber.

Instance memberGetListItemState(nIndex)

Determines whether the specified list box or combo box entry is selected.

ParameterTypeDescription
nIndexSalNumber

Returns: SalBoolean.

Instance memberGetListItemText(nIndex, sText)

ParameterTypeDescription
nIndexSalNumber
sTextSalString&

Returns: SalNumber.

Instance memberGetListItemText(nIndex)

Returns the text of the specified item.

ParameterTypeDescription
nIndexSalNumber

Returns: SalString.

Instance memberGetListItemTextLength(nIndex)

Returns the length of a list box or combo box entry.

ParameterTypeDescription
nIndexSalNumber

Returns: SalNumber.

Instance memberGetListSelectedFile(sFileName)

ParameterTypeDescription
sFileNameSalString&

Returns: SalBoolean.

Instance memberGetListSelectedFile()

Fetches the selected directory or file name from a list box or combo box.

Returns: SalString.

Instance memberGetListSelectedIndex()

Returns the index of the selected entry in a combo box or single-selection list box.

Returns: SalNumber.

Instance memberGetListSelectedItems(nSelectedArray)

Returns an array of index numbers of selected list box entries.

ParameterTypeDescription
nSelectedArraySalArray<SalNumber>

Returns: SalBoolean.

Instance memberGetListSelectedItemsCount()

Returns the number of selected entries in a multiple-selection list box. Specify single- or multiple-selection in the list box's customizer.

Returns: SalNumber.

Instance memberGetLocation(nX, nY)

ParameterTypeDescription
nXSalNumber&
nYSalNumber&

Returns: SalBoolean.

Instance memberGetLockedColumns()

Retrieves the number of locked table window columns.

Returns: SalNumber.

Instance memberGetName(sText)

ParameterTypeDescription
sTextSalString&

Returns: SalBoolean.

Instance memberGetName()

Gets the name of an object.

Returns: SalString.

Instance memberGetNextChild(nTypeMask)

Returns the handle of the next child window that matches a specified type.

ParameterTypeDescription
nTypeMaskSalNumber

Returns: SalWindowHandle.

Instance memberGetObjectData(info, context)

get object data

ParameterTypeDescription
infoSerializationInfo
contextStreamingContext

Instance memberGetParent()

Returns the handle of an object's parent window.

Returns: SalWindowHandle.

Instance memberGetProperty(sName, sValue)

ParameterTypeDescription
sNameSalString
sValueSalString&

Returns: SalBoolean.

Instance memberGetProperty(sName)

Gets the value of a named property.

ParameterTypeDescription
sNameSalString

Returns: SalString.

Instance memberGetRowFlags(nRow, nFlags)

Queries a row's flags.

ParameterTypeDescription
nRowSalNumber
nFlagsSalNumber

Returns: SalBoolean.

Instance memberGetScrollBarPosition(nPos)

ParameterTypeDescription
nPosSalNumber&

Returns: SalBoolean.

Instance memberGetScrollBarPosition()

Returns the current scroll bar value.

Returns: SalNumber.

Instance memberGetScrollBarRange(nMin, nMax, nLine, nPage)

ParameterTypeDescription
nMinSalNumber&
nMaxSalNumber&
nLineSalNumber&
nPageSalNumber&

Returns: SalBoolean.

Instance memberGetSize(nWidth, nHeight)

ParameterTypeDescription
nWidthSalNumber&
nHeightSalNumber&

Returns: SalBoolean.

Instance memberGetStatusBarText(sText, nMaxLen)

ParameterTypeDescription
sTextSalString&
nMaxLenSalNumber

Returns: SalNumber.

Instance memberGetStatusBarText(nMaxLen)

Gets the text displayed in the status bar of a top-level or MDI window.

ParameterTypeDescription
nMaxLenSalNumber

Returns: SalString.

Instance memberGetTableFlags(nFlags)

Tests the state of a table window's flags.

ParameterTypeDescription
nFlagsSalNumber

Returns: SalBoolean.

Instance memberGetText(sText, nMaxLen)

ParameterTypeDescription
sTextSalString&
nMaxLenSalNumber

Returns: SalNumber.

Instance memberGetText(nMaxLen)

Retrieves the text of a window.

ParameterTypeDescription
nMaxLenSalNumber

Returns: SalString.

Instance memberGetTextUnmasked(sText)

ParameterTypeDescription
sTextSalString&

Returns: SalBoolean.

Instance memberGetTextUnmasked()

Unmasks the text from a masked edit control.

Returns: SalString.

Instance memberGetWindowColor(nColorIndex)

Gets a window's color.

ParameterTypeDescription
nColorIndexSalNumber

Returns: SalNumber.

Instance memberGetWindowState()

Returns a window's current state.

Returns: SalNumber.

Instance memberHideWindow()

Hides a window.

Returns: SalBoolean.

Instance memberHideWindowAndLabel()

Hides a window and its associated label.

Returns: SalBoolean.

Instance memberHitTest(nX, nY, nRow, hWndCol, nFlags)

ParameterTypeDescription
nXSalNumber
nYSalNumber
nRowSalNumber&
hWndColSalWindowHandle&
nFlagsSalNumber&

Returns: SalBoolean.

Instance memberInsertListItem(nIndex, sAdd)

Inserts an entry into a list box or combo box at a specified position.

ParameterTypeDescription
nIndexSalNumber
sAddSalString

Returns: SalNumber.

Instance memberInsertRow(nRow)

Inserts a new blank row into a table window.

ParameterTypeDescription
nRowSalNumber

Returns: SalNumber.

Instance memberInvalidateWindow()

Causes a window to be repainted.

Returns: SalBoolean.

Instance memberIsChecked()

Determines whether a radio button is set or a check box is checked.

Returns: SalBoolean.

Instance memberIsDerivedFromClass(tClass)

Determines whether a window is an instance of the specified class.

ParameterTypeDescription
tClassType

Returns: SalBoolean.

Instance memberIsEmpty()

Verifies whether a data field, multiline text field, or table window column is null or empty.

Returns: SalBoolean.

Instance memberIsEnabled()

Determines whether a window is enabled for mouse and keyboard input.

Returns: SalBoolean.

Instance memberIsModified()

Returns the setting of the Field Edit Flag for a data field, multiline field, combo box, table window's context row cell, or picture.

Returns: SalBoolean.

Instance memberIsValid()

Validates the contents of a data field or table window column using the current profile.

Returns: SalBoolean.

Instance memberIsValidDateTime()

Verifies whether a data field, multiline text field, or table window column contains a valid date/time value. For multiline text fields, the date/time value must be the only item in the field.

Returns: SalBoolean.

Instance memberIsValidDecimal(nPrecision, nScale)

Verifies whether a data field, multiline text field, or table window column contains a valid decimal value. For multiline text fields, the decimal value must be the only item in the field.

ParameterTypeDescription
nPrecisionSalNumber
nScaleSalNumber

Returns: SalBoolean.

Instance memberIsValidInteger()

Verifies whether a data field, multiline text field, or table window column contains a valid integer value. For multiline text fields, the integer value must be the only item in the field.

Returns: SalBoolean.

Instance memberIsValidNumber()

Verifies whether a data field, multiline text field, or table window column contains a valid numeric value. Valid numbers are integers or floating point numbers, negative and positive. For multiline text fields, the numeric value must be the only item in the field.

Returns: SalBoolean.

Instance memberIsVisible()

Determines whether a window is currently visible.

Returns: SalBoolean.

Instance memberKillCellEdit()

Takes a row out of edit mode and selects the row. This causes the row to receive both SAM_Validate and SAM_KillFocus messages.

Returns: SalBoolean.

Instance memberKillFocusRow()

Turns off the table window's focus frame.

Returns: SalBoolean.

Instance memberKillTimer(nIDEvent)

Destroys an object's system timer.

ParameterTypeDescription
nIDEventSalNumber

Returns: SalBoolean.

Instance memberMoveWindow(nXOffset, nYOffset)

Moves a window a given number of form units on the X and Y axes relative to its current position.

ParameterTypeDescription
nXOffsetSalNumber
nYOffsetSalNumber

Returns: SalBoolean.

Instance memberPasteRows()

Pastes the contents of the Clipboard to the specified table window. Assumes the Clipboard data is in text format with cells delimited by tab characters and rows delimited by end-of-line characters. Inserts the new rows into the table window without overwriting existing rows, and converts the data to the data types of the corresponding table window columns.

Returns: SalBoolean.

Instance memberPixelsToFormUnits(nNumPixels, bVertical)

Computes the number of form units based on the number of pixels. Form units are a unit of measurement used by functions that move and position objects. Form units are computed using physical units (pixels) in conjunction with a window's font sizes.

ParameterTypeDescription
nNumPixelsSalNumber
bVerticalSalBoolean

Returns: SalNumber.

Instance memberPopulate(hSql, sSelect, nMethod)

Compiles, binds, and executes a SQL SELECT statement, then fetches the rows of the result set and populates a table window with them.

ParameterTypeDescription
hSqlSalSqlHandle
sSelectSalString
nMethodSalNumber

Returns: SalBoolean.

Instance memberPopulate(hSql, sSelect, nMethod, errorHandler)

Compiles, binds, and executes a SQL SELECT statement, then fetches the rows of the result set and populates a table window with them.

ParameterTypeDescription
hSqlSalSqlHandle
sSelectSalString
nMethodSalNumber
errorHandlerWhenSqlErrorHandler

Returns: SalBoolean.

Instance memberPopulate(hSql, sSelect)

Compiles, binds, and executes a SQL SELECT statement, then fetches the rows of the result set and populates a table window with them.

ParameterTypeDescription
hSqlSalSqlHandle
sSelectSalString

Returns: SalBoolean.

Instance memberPopulate(hSql, sSelect, errorHandler)

Compiles, binds, and executes a SQL SELECT statement, then fetches the rows of the result set and populates a table window with them.

ParameterTypeDescription
hSqlSalSqlHandle
sSelectSalString
errorHandlerWhenSqlErrorHandler

Returns: SalBoolean.

Instance memberPopulateList(hSql, sSelect)

Populates a list box or combo box with a result set. SalListPopulate overrides any settings made with SalListSetTabs. If the SELECT statement returns data from multiple columns, each column's data displayed in a list box is separated by tabs. However, due to a Microsoft Windows limitation, each column's data displayed in a combo box is separated by a single '|' character. There is no space between one column's data, the separator character, and another column's data.

ParameterTypeDescription
hSqlSalSqlHandle
sSelectSalString

Returns: SalBoolean.

Instance memberPopulateList(hSql, sSelect, errorHandler)

Populates a list box or combo box with a result set. SalListPopulate overrides any settings made with SalListSetTabs. If the SELECT statement returns data from multiple columns, each column's data displayed in a list box is separated by tabs. However, due to a Microsoft Windows limitation, each column's data displayed in a combo box is separated by a single '|' character. There is no space between one column's data, the separator character, and another column's data.

ParameterTypeDescription
hSqlSalSqlHandle
sSelectSalString
errorHandlerWhenSqlErrorHandler

Returns: SalBoolean.

Instance memberPopulateListFiles(ctrlPath, sPathName, nAttributes)

ParameterTypeDescription
ctrlPathControl
sPathNameSalString&
nAttributesSalNumber

Returns: SalBoolean.

Instance memberPostMessage(nMsg, nMywParam, nMylParam)

Posts the specified message to a window by adding nMsg to hWndReceiver's message queue.

ParameterTypeDescription
nMsgSalNumber
nMywParamSalNumber
nMylParamSalNumber

Returns: SalBoolean.

Instance memberQueryCheckBoxColumn(nFlags, sCheckedValue, sUncheckedValue)

ParameterTypeDescription
nFlagsSalNumber&
sCheckedValueSalString&
sUncheckedValueSalString&

Returns: SalBoolean.

Instance memberQueryDropDownListColumn(nFlags, nLines)

ParameterTypeDescription
nFlagsSalNumber&
nLinesSalNumber&

Returns: SalBoolean.

Instance memberQueryFocusCell(nRow, hWndCol)

ParameterTypeDescription
nRowSalNumber&
hWndColSalWindowHandle&

Returns: SalBoolean.

Instance memberQueryPopupEditColumn(nFlags, nLines)

ParameterTypeDescription
nFlagsSalNumber&
nLinesSalNumber&

Returns: SalBoolean.

Instance memberQueryRowHeader(sTitle, nMaxTitle, nWidth, nFlags, hWndCol)

ParameterTypeDescription
sTitleSalString&
nMaxTitleSalNumber
nWidthSalNumber&
nFlagsSalNumber&
hWndColSalWindowHandle&

Returns: SalBoolean.

Instance memberQueryScroll(nPosition, nMinRange, nMaxRange)

ParameterTypeDescription
nPositionSalNumber&
nMinRangeSalNumber&
nMaxRangeSalNumber&

Returns: SalBoolean.

Instance memberQuerySplitWindow(nRowsLowerHalf, bDragAdjust)

ParameterTypeDescription
nRowsLowerHalfSalNumber&
bDragAdjustSalBoolean&

Returns: SalBoolean.

Instance memberQueryVisibleRange(nMinRange, nMaxRange)

ParameterTypeDescription
nMinRangeSalNumber&
nMaxRangeSalNumber&

Returns: SalBoolean.

Instance memberResetTable()

Clears a table window by discarding all rows from the table window cache and setting the table range to 0, -1.

Returns: SalBoolean.

Instance memberScrollRow(nRow, column, nFlags)

Scrolls a table window to the specified row and column.

ParameterTypeDescription
nRowSalNumber
columnControl
nFlagsSalNumber

Returns: SalBoolean.

Instance memberScrollRow(nRow, column)

Scrolls a table window to the specified row and column.

ParameterTypeDescription
nRowSalNumber
columnControl

Returns: SalBoolean.

Instance memberSendMessage(nMsg, nMywParam, nMylParam)

Sends the specified message to a window. SalSendMsg does not return until the processing for the message is complete.

ParameterTypeDescription
nMsgSalNumber
nMywParamSalNumber
nMylParamSalNumber

Returns: SalNumber.

Instance memberSendMessageToChildren(nMsg, nMywParam, nMylParam)

Sends a message to all child items of a form window, dialog box, table window, or MDI window.

ParameterTypeDescription
nMsgSalNumber
nMywParamSalNumber
nMylParamSalNumber

Returns: SalBoolean.

Instance memberSetCellTextColor(nColor, bDiscardable)

Changes a table window cell's text color.

ParameterTypeDescription
nColorSalNumber
bDiscardableSalBoolean

Returns: SalBoolean.

Instance memberSetCellTextColor(nColor)

Changes a table window cell's text color.

ParameterTypeDescription
nColorSalNumber

Returns: SalBoolean.

Instance memberSetColumnFlags(nFlags, bSet)

Sets or clears a table window column's flags.

ParameterTypeDescription
nFlagsSalNumber
bSetSalBoolean

Returns: SalBoolean.

Instance memberSetColumnPos(nPos)

Moves a table window column to a new position.

ParameterTypeDescription
nPosSalNumber

Returns: SalBoolean.

Instance memberSetColumnPosition(nPos)

Moves a table window column to a new position.

ParameterTypeDescription
nPosSalNumber

Returns: SalBoolean.

Instance memberSetColumnText(nColumnID, sText)

Assigns data to a column of a table window's context row.

ParameterTypeDescription
nColumnIDSalNumber
sTextSalString

Returns: SalBoolean.

Instance memberSetColumnTitle(sTitle)

Sets the title of a table window column.

ParameterTypeDescription
sTitleSalString

Returns: SalBoolean.

Instance memberSetColumnWidth(nFormUnits)

Sets a table window column's display width.

ParameterTypeDescription
nFormUnitsSalNumber

Returns: SalBoolean.

Instance memberSetContextMenu(menuName, flags)

Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.

ParameterTypeDescription
menuNameSalString
flagsSalNumber

Returns: SalBoolean.

Instance memberSetContextMenu(menuType, flags)

Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.

ParameterTypeDescription
menuTypeType
flagsSalNumber

Returns: SalBoolean.

Instance memberSetContextRow(nRow)

Sets a table window's context row. Setting the context row does not send a SAM_FetchRow message. If the row is not currently in memory, creates a new row in memory and sets its cell values to null.

ParameterTypeDescription
nRowSalNumber

Returns: SalBoolean.

Instance memberSetCursor(nResourceId, nType)

Sets a window's cursor.

ParameterTypeDescription
nResourceIdInt32
nTypeSalNumber

Returns: SalBoolean.

Instance memberSetCursor(sBlob, nType)

Sets a window's cursor from a string variable.

ParameterTypeDescription
sBlobSalString
nTypeSalNumber

Returns: SalBoolean.

Instance memberSetCursorFile(sFile, nType)

Sets an application-defined cursor for the specified window. Use this function to set the cursor from an image stored in a file.

ParameterTypeDescription
sFileSalString
nTypeSalNumber

Returns: SalBoolean.

Instance memberSetDataLength(length)

Sets a limit on the number of characters that a user can enter into a data field, multiline text field, or table window column.

ParameterTypeDescription
lengthSalNumber

Returns: SalBoolean.

Instance memberSetDefaultButton()

Sets the default push button of a form window or dialog box.

Returns: SalBoolean.

Instance memberSetFlagsAnyRows(nFlags, bSet, nFlagsOn, nFlagsOff)

Sets or clears row flags.

ParameterTypeDescription
nFlagsSalNumber
bSetSalBoolean
nFlagsOnSalNumber
nFlagsOffSalNumber

Returns: SalBoolean.

Instance memberSetFocus()

Sets the focus to a specified window.

Returns: SalWindowHandle.

Instance memberSetFocusCell(nRow, column)

Sets the focus to the specified table window cell (row and column). Puts the table window into edit mode and lets the user select a portion of the data in the cell.

ParameterTypeDescription
nRowSalNumber
columnControl

Returns: SalBoolean.

Instance memberSetFocusRow(nRow)

Sets a table window's focus frame row.

ParameterTypeDescription
nRowSalNumber

Returns: SalBoolean.

Instance memberSetFont(sName, nSize, nEnhancement)

Sets a window's font, font size, and font enhancements.

ParameterTypeDescription
sNameSalString
nSizeSalNumber
nEnhancementSalNumber

Returns: SalBoolean.

Instance memberSetFormat(sPicture)

Sets the picture format of a data field or table window column.

ParameterTypeDescription
sPictureSalString

Returns: SalBoolean.

Instance memberSetFormatCode(nFormat)

Sets a data field's or table window column's format.

ParameterTypeDescription
nFormatSalNumber

Returns: SalBoolean.

Instance memberSetImageBytes(sImageBytes, nType)

Inserts the contents of a picture to an image without the image header.

ParameterTypeDescription
sImageBytesSalString
nTypeSalNumber

Returns: SalBoolean.

Instance memberSetImageFile(sFileName)

Inserts a file's contents into a picture.

ParameterTypeDescription
sFileNameSalString

Returns: SalBoolean.

Instance memberSetImageFit(nFit, nScaleWidth, nScaleHeight)

Deprecated memberDeprecated: SetImageFit(nFit, nScaleWidth, nScaleHeight) is deprecated, use SetImageFit(nFit) Sets the fit for a picture.

ParameterTypeDescription
nFitSalNumberOne of PIC_FitBestFit, PIC_FitScale, PIC_FitSizeToFit.
nScaleWidthSalNumberNot supported.
nScaleHeightSalNumberNot supported.

Returns: SalBoolean.

Instance memberSetImageFit(nFit)

Sets the fit for a picture.

ParameterTypeDescription
nFitSalNumberOne of PIC_FitBestFit, PIC_FitScale, PIC_FitSizeToFit.

Returns: SalBoolean.

Instance memberSetImageHandle(nType, nHandle)

Sets the picture image of a picture window with the handle of a bitmap (HBITMAP) or icon (HICON). Usually, HBITMAPs and HICONs are loaded from DLLs.

ParameterTypeDescription
nTypeSalNumberOne of PIC_FormatIcon or PIC_FormatBitmap.
nHandleSalNumberHICON or HBITMAp handle of the image.

Returns: SalBoolean.

Instance memberSetImageResource(tResource, nFormat)

Inserts a resource into a picture.

ParameterTypeDescription
tResourceSalResource
nFormatSalNumber

Returns: SalBoolean.

Instance memberSetImageString(nFormat, sPicture)

Inserts the contents of a string into a picture.

ParameterTypeDescription
nFormatSalNumber
sPictureSalString

Returns: SalBoolean.

Instance memberSetInputMask(sMask)

Sets the input mask of a data field or table window column.

ParameterTypeDescription
sMaskSalString

Returns: SalBoolean.

Instance memberSetLabelText(sText)

Sets the text of the associated label control.

ParameterTypeDescription
sTextSalString

Returns: SalBoolean.

Instance memberSetLinesPerRow(nLines)

Sets the height of a row in lines.

ParameterTypeDescription
nLinesSalNumber

Returns: SalBoolean.

Instance memberSetListSelectedIndex(nIndex)

Selects or deselects a combo box or single-selection list box entry.

ParameterTypeDescription
nIndexSalNumber

Returns: SalBoolean.

Instance memberSetListSelectedItems(nIndex, bSelect)

Selects or deselects a combo box or multiple-selection list box entry.

ParameterTypeDescription
nIndexSalNumber
bSelectSalBoolean

Returns: SalBoolean.

Instance memberSetListSelectedText(nIndexStart, sText)

Finds and selects a combo box or single-selection list box entry.

ParameterTypeDescription
nIndexStartSalNumber
sTextSalString

Returns: SalNumber.

Instance memberSetLocation(nX, nY)

Moves a window to a new position (x, y) on the X and Y axes.

ParameterTypeDescription
nXSalNumber
nYSalNumber

Returns: SalBoolean.

Instance memberSetLockedColumns(nLockedColumns)

Sets the number of locked table window columns.

ParameterTypeDescription
nLockedColumnsSalNumber

Returns: SalBoolean.

Instance memberSetModified(bSet)

Sets or clears the field edit flag for an editable data field, combo box, multiline text field, table window column, or picture.

ParameterTypeDescription
bSetSalBoolean

Returns: SalBoolean.

Instance memberSetProperty(sName, sValue, nLength)

Sets the value of a named property.

ParameterTypeDescription
sNameSalString
sValueSalString
nLengthSalNumber

Returns: SalBoolean.

Instance memberSetRange(nMin, nMax)

Defines the minimum and maximum rows (range) of a table.

ParameterTypeDescription
nMinSalNumber
nMaxSalNumber

Returns: SalBoolean.

Instance memberSetRow(nRowPos)

Sets the focus to the first, last, next, or previous row in a table window.

ParameterTypeDescription
nRowPosSalNumber

Returns: SalNumber.

Instance memberSetRowFlags(nRow, nFlags, bSet)

Sets or clears a table window row's flags.

ParameterTypeDescription
nRowSalNumber
nFlagsSalNumber
bSetSalBoolean

Returns: SalBoolean.

Instance memberSetScrollBarPosition(nPos)

Sets the scrollbar's value.

ParameterTypeDescription
nPosSalNumber

Returns: SalBoolean.

Instance memberSetScrollBarRange(nMin, nMax, nLine, nPage)

Sets a scroll bar's range, line increment, and page increment. When the scroll bar is created, assigns it these values: Minimum scroll position0 Maximum scroll position100 Line Increment1 Page Increment10 If the scroll bar's current position is outside the new range, its position changes to one within the new range. The range of a scroll bar is -32,767 to 32,767.

ParameterTypeDescription
nMinSalNumber
nMaxSalNumber
nLineSalNumber
nPageSalNumber

Returns: SalBoolean.

Instance memberSetSize(nWidth, nHeight)

Resizes a window.

ParameterTypeDescription
nWidthSalNumber
nHeightSalNumber

Returns: SalBoolean.

Instance memberSetStatusBarText(sText)

Displays specified text in the status bar of a top-level or MDI window.

ParameterTypeDescription
sTextSalString

Returns: SalBoolean.

Instance memberSetTableFlags(nFlags, bSet)

Sets or clears a table window's flags.

ParameterTypeDescription
nFlagsSalNumber
bSetSalBoolean

Returns: SalBoolean.

Instance memberSetText(sText)

Sets the text of a window.

ParameterTypeDescription
sTextSalString

Returns: SalBoolean.

Instance memberSetText(sValue, bFormat)

Copies a string to a data field or table window column. After copying the string to the field, formats the string.

ParameterTypeDescription
sValueSalString
bFormatSalBoolean

Returns: SalBoolean.

Instance memberSetTimer(nIDEvent, nElapseMilliSec)

Creates a system timer for a given object. When a timer event occurs, sends SAM_Timer messages to the object in specified intervals. Timers are a limited global resource. Your application must check the value returned by SalTimerSet to verify that the timer was created.

ParameterTypeDescription
nIDEventSalNumber
nElapseMilliSecSalNumber

Returns: SalBoolean.

Instance memberSetWindowColor(nColorIndex, nColor)

Sets a window's color.

ParameterTypeDescription
nColorIndexSalNumber
nColorSalNumber

Returns: SalBoolean.

Instance memberShowStatusBar(bShow)

Shows or hides the status bar on a top-level or MDI window.

ParameterTypeDescription
bShowSalBoolean

Returns: SalBoolean.

Instance memberShowToolBar(bShow)

Shows or hides the tool bar on a top-level or MDI window.

ParameterTypeDescription
bShowSalBoolean

Returns: SalBoolean.

Instance memberShowWindow()

Makes a window visible.

Returns: SalBoolean.

Instance memberShowWindowAndLabel()

Makes a window and its associated label visible. A label is the label control that immediately precedes the window in the outline.

Returns: SalBoolean.

Instance memberSortRows(nColumnID, nOrder)

Sorts the rows of a table window based on the values in one of the table window's columns.

ParameterTypeDescription
nColumnIDSalNumber
nOrderSalNumber

Returns: SalBoolean.

Instance memberToControl()

Returns the Control associated with this handle.

Returns: Control.

Instance memberToInt32()

Converts a window handle to a number.

Returns: Int32. nWnd

Instance memberToIntPtr()

Returns the IntPtr value.

Returns: IntPtr.

Instance memberToNumber()

Returns the value converted to SalNumber.

Returns: SalNumber.

Instance memberTrackPopupMenu(sMenuName, nFlags, nX, nY, callback)

Creates pop-up menus at runtime.

ParameterTypeDescription
sMenuNameSalString
nFlagsSalNumber
nXSalNumber
nYSalNumber
callbackAction<ContextMenu>

Returns: SalBoolean.

Instance memberTrackPopupMenu(menuType, nFlags, nX, nY, callback)

Creates pop-up menus at runtime.

ParameterTypeDescription
menuTypeType
nFlagsSalNumber
nXSalNumber
nYSalNumber
callbackAction<ContextMenu>

Returns: SalBoolean.

Instance memberUpdateWindow()

Forces the update of a window.

Returns: SalBoolean.

Instance memberValidate()

Validates and formats a data field's or table window column's contents.

Returns: SalBoolean.

Instance memberValidate(nValidate)

Validates and formats a data field's or table window column's contents.

ParameterTypeDescription
nValidateSalNumber

Returns: SalBoolean.

Used By

NameDescription
Sal.ValidateSetNot supported.
Sal.YieldStartMessagesNot Supported.
Sal.TblGetColumnWindowGets the handle of a table window column.
SalNumber.ToWindowHandleConverts a number to a window handle.
SalWindowHandle.GetColumnWindowGets the handle of a table window column.
SalBackgroundText.FindChildThis function finds a child window of a given name in the specified window.
SalCheckBox.SetFocusSets the focus to a specified window.
SalComboBox.GetLabelRetrieves the window handle of the label (label control) that is associated with the hWndTarget parameter. There must be a mnemonic in that label, and it must immediately precede hWndTarget in the outline, or this function will fail.
SalCustomControl.FindChildThis function finds a child window of a given name in the specified window.
SalDataField.FindChildThis function finds a child window of a given name in the specified window.
SalFrame.FindChildThis function finds a child window of a given name in the specified window.
SalGroupBox.FindChildThis function finds a child window of a given name in the specified window.
SalHorizontalScrollBar.SetFocusSets the focus to a specified window.
SalLine.FindChildThis function finds a child window of a given name in the specified window.
SalListBox.FindChildThis function finds a child window of a given name in the specified window.
SalMultilineField.GetNextChildReturns the handle of the next child window that matches a specified type.
SalNavigationBar.FindChildThis function finds a child window of a given name in the specified window.
SalOptionButton.FindChildThis function finds a child window of a given name in the specified window.
SalPicture.GetNextChildReturns the handle of the next child window that matches a specified type.
SalPushbutton.GetLabelRetrieves the window handle of the label (label control) that is associated with the hWndTarget parameter. There must be a mnemonic in that label, and it must immediately precede hWndTarget in the outline, or this function will fail.
SalRadioButton.GetParentReturns the handle of an object's parent window.
SalTreeControl.GetLabelRetrieves the window handle of the label (label control) that is associated with the hWndTarget parameter. There must be a mnemonic in that label, and it must immediately precede hWndTarget in the outline, or this function will fail.
SalUserControl.FindChildThis function finds a child window of a given name in the specified window.
SalVerticalScrollBar.SetFocusSets the focus to a specified window.
SalForm.FindChildThis function finds a child window of a given name in the specified window.
SalFormTableWindow.GetColumnWindowGets the handle of a table window column.
SalWindow.GetFocusReturns the control with the focus.
SalTableColumn.GetParentReturns the handle of an object's parent window.
SalTableWindow.FindChildThis function finds a child window of a given name in the specified window.
WindowActionsEventArgs.hWndReturns the target window handle.
SalQuickTabs.ShowWindowUse this function instead of SalShowWindow because it works properly with the class function HideWindow
SalQuickTabs.ShowWindowAndLabelUse this function instead of SalShowWindowAndLabel because it works properly with the class function HideWindowAndLabel.
SalQuickTabs.HideWindowUse this function instead of SalHideWindow. This function will keep the window hidden as tabs are selected. Use the class function ShowWindow to undo the affect of this function.
SalQuickTabs.IsWindowVisibleReturns if the specified control is considered to be visible by the tab control and will be shown when the associated tab is selected.
SalQuickTabs.HideWindowAndLabelUse this function instead of SalHideWindowAndLabel. This function will keep the window hidden as tabs are selected. Use the class function ShowWindowWindowAndLabel to undo the affect of this function.
SalQuickTabs.FindTabFrameFinds the tab frame window on a form or dialog box
SalQuickTabsDialog.FromHandleReturns the control associated with the handle.
SalQuickTabsForm.FromHandleReturns the control associated with the handle.
SalQuickTabsParent.TabCreateIndicates that a tab has been created. This function is called when the tab control receives SAM_Create.
SalQuickTabsParent.TabActivateStartIndicates that a tab has been activated. This function is called before the child windows have been shown
SalQuickTabsParent.TabActivateFinishIndicates that a tab has been activated. This function is called after the child windows have been shown
SalQuickTabsParent.TabUserRequestIndicates that user is attempting to change the current tab by clicking, tabbing or some other user action. NOTE: Call CancelMode() to deny the user's request
SalQuickTabsParent.TabFrameResizeIndicates that the size of the tab frame may have changed
SalQuickTabsParent.TabSetFormPageSizeDefine the page size for child forms created on the tab frame. This function can be overridden in the tab form or tab dialog box
SalQuickTabsParent.FromHandleReturns the control associated with the handle.
Sql.ContextSetToFormSets the context to the specified form.
Vis.WinGetFlags
Vis.WinGetHandle
VisCalendar.FromHandle
VisCalendar.FindChild
VisCalendarDropDown.GetNextChild
VisColorComboBox.FromHandle
VisColorListBox.FromHandle
VisComboBoxBase.DragDrop
VisDesktopListBox.FromHandle
VisDirListBox.FromHandle
VisDirTreeListBox.FromHandle
VisDriveComboBox.FromHandle
VisDriveListBox.FromHandle
VisFileListBox.FromHandle
VisFontComboBox.FromHandle
VisFontListBox.FromHandle
VisFontNameComboBox.FromHandle
VisFontNameListBox.FromHandle
VisListBoxBase.DragDrop
VisListBoxExtension.FromHandle
VisListView.FindChild
VisListViewDropDown.FromHandle
VisMeter.FromHandle
VisMeter.FindChild
VisOutlineComboBox.FromHandle
VisOutlineComboBox.DragDrop
VisOutlineListBox.FindChild
VisPictureComboBox.FromHandle
VisPictureListBox.FromHandle
VisRadioListBox.FromHandle
VisSpinField.SetFocus
VisSplitter.FromHandle
VisSplitter.FindChild
VisSplitterWindow.FromHandle
XSal.ToolboxCreate
XSalFlatButton.FromHandle
XSalHSplitter.FromHandle
XSalHSplitter.GetTopFrame
XSalSplitter.FromHandle
XSalSplitter.FindChild
XSalToolbox.FromHandle
XSalVSplitter.FromHandle
XSalVSplitter.GetLeftFrame