Vis
PPJ.Runtime.Vis.Vis
Namespace: PPJ.Runtime.Vis
Assembly: PPJ.Web.Vis.49 (4.9.0.0)
Contains all Vis.* static functions and constants.
Fields
Methods
Appends one array to the end of another array.
Returns: SalNumber.
Copies the source array to the target array.
Returns: SalNumber.
Deletes an item from an array.
Returns: SalNumber.
Fills a Date/Time array with the specified date/time value.
Returns: SalBoolean.
Fills a Date/Time array with the specified numeric value.
Returns: SalBoolean.
Fills a Date/Time array with the specified string value.
Returns: SalBoolean.
Locates a date/time value within an array.
Returns: SalNumber.
Locates a numeric value within an array.
Returns: SalNumber.
Locates a numeric value within an array.
Returns: SalNumber.
Locates a string value within an array.
Returns: SalNumber.
nNumItems VisArrayInsertItem( hArray, nIndex, nDataType )
Returns: SalNumber.
nNumItems VisArraySort( hArray, nSortOrder, nDataType )
Returns: SalNumber.
Composes a full path by combining the current directory and the specified file name.
Returns: SalString.
Returns information about the directories selected using the specified wild card.
Returns: SalNumber.
Enumerates all the directories using the specified wild card.
Returns: SalNumber.
Enumerates all the logical drives.
Returns: SalNumber.
Returns information for the files selected using the specified wild card.
Returns: SalNumber.
Enumerates all the files using the specified wildcard.
Returns: SalNumber.
Enumerates all the network connections.
Returns: SalNumber.
Enumerates all the paths in the PATH environment variable.
Returns: SalNumber.
Checks if the specified directory exists.
Returns: SalBoolean.
Returns the current directory.
Returns: SalString.
Returns: SalNumber.
Returns the type of the specified drive.
Returns: SalNumber.
sEnvString VisDosGetEnvString (sKeyName)
Returns: SalString.
Returns: SalNumber.
Retrieves the name of the network resource associated with a local device.
Returns: SalString.
bVersionNumber VisDosGetVersion( )
Returns: SalNumber.
Returns the volume label of the specified drive.
Returns: SalString.
bOk VisDosIsParent (sDirSpec)
Returns: SalBoolean.
nErrCode VisDosMakeAllDir( sDir )
Returns: SalNumber.
sFileSpec VisDosMakePath (sDrive, sDir, sBase, sExt)
Returns: SalString.
Makes a connection to a network resource.
Returns: SalNumber.
nErrCode VisDosNetDisconnect( sDevice, bForce )
Returns: SalNumber.
Returns: SalNumber.
Sets the label of a file system volume.
Returns: SalNumber.
Returns: SalNumber.
Displays an error message and allows user to retry the operation or halt the application.
Returns: SalNumber.
File functions nErrCode VisFileAppend( sSourceFile, sTargetFile )
Returns: SalNumber.
nErrCode VisFileClose( hFile )
Returns: SalNumber.
nErrCode VisFileCopy( sSourceFile, sTargetFile )
Returns: SalNumber.
sTempName VisDosGetTempFileName( sPrefix )
Returns: SalString.
nNumDeleted VisFileDelete( sFileName )
Returns: SalNumber.
Returns: SalNumber.
SalString VisFileFind (sFileName)
Returns: SalString.
nAttribute VisFileGetAttribute( sFileName )
Returns: SalNumber.
nFileSize VisFileGetSize( sFileName )
Returns: SalNumber.
nFileType VisFileGetType( sFileName )
Returns: SalNumber.
Returns: SalNumber.
Returns: SalNumber.
Returns: SalNumber.
Renames one or more files. Wild card characters are supported in both the source and target file names. If the source and target directories are different but the file names are the same, the files are moved to the target directory specified.
Returns: SalNumber.
nErrCode VisFileSeek( hFile, nOffset, nOrigin )
Returns: SalNumber.
nErrCode VisFileSetAttribute( sFileName, nAttributes, bState )
Returns: SalNumber.
nErrCode VisFileSetDateTime( sFileName, dtDateTime )
Returns: SalNumber.
nOffset VisFileTell( hFile )
Returns: SalNumber.
nErrCode VisFileWrite( hFile, sBuffer, nSize )
Returns: SalNumber.
nErrCode VisFileWriteString( hFile, sLine )
Returns: SalNumber.
Enumerates all the installed fonts.
Returns: SalNumber.
Release the font handle.
Returns: SalBoolean.
Returns: SalBoolean.
Loads the specified font.
Returns: SalNumber.
Retrieves the current directory of a common dialog listbox or combobox.
Returns: SalString.
Retrieves a copyright string.
Returns: SalString.
Retrieves the state of a specified key.
Returns: SalNumber. The return value specifies the status of the specified virtual key, as follows: If the high-order bit is 1, the key is down; otherwise, it is up. If the low-order bit is 1, the key is toggled.A key, such as the CAPS LOCK key, is toggled if it is turned on. The key is off and untoggled if the low-order bit is 0.
sVersion VisGetVersion( )
Returns: SalString.
nVersion VisGetWinVersion( )
Returns: SalNumber.
Adds an item to the list and displays it in the specified color.
Returns: SalNumber.
Adds an item to the list, displays it in the specified color and associates the specified value with the item.
Returns: SalNumber.
Adds an item to the list control and displays it in the specified font.
Returns: SalNumber.
Adds an item to the list control, displays it in the specified font and associates the specified value to the item.
Returns: SalNumber.
Adds an item to the list control and specified an image for the normal and selected state.
Returns: SalNumber.
Adds an item to the list control and specified an image for the normal and selected state, and a value to associate with the item.
Returns: SalNumber.
Adds an item to a sorted list box or combo box and associates the specified value with the item.
Returns: SalNumber.
Populates a list box from a string array.
Returns: SalNumber.
Populates a list box from a string and a value array.
Returns: SalNumber.
Unselects all selected items in a list box or combo box.
Returns: SalBoolean.
Collapses all descendant items.
Returns: SalBoolean.
Deletes the child item from the tree control.
Returns: SalNumber.
Deletes all descendants (children, grandchildren, and so on) of the specified child.
Returns: SalNumber.
Deletes all selected items from a list box or combo box.
Returns: SalNumber.
Moves an item and all descendants of the item right in the outline.
Returns: SalBoolean.
Returns: SalNumber.
Implements drag and drop
Returns: SalBoolean.
Enables the specified item and sets the specified color.
Returns: SalNumber.
Enumerates child item handles for a specified item.
Returns: SalNumber.
Enumerates descendant (children, grandchildren, and so on) item handles for a specified item.
Returns: SalNumber.
Expands an outline one level at the index specified.
Returns: SalNumber.
Displays all descendants of an item.
Returns: SalBoolean.
Returns: SalNumber.
Finds the first string that matches the specified text in a list box or combo box. The search is not case sensitive but requires an exact match of all characters.
Returns: SalNumber.
Finds the first value that matches the specified value in a list box or combo box.
Returns: SalNumber.
Frees memory for the item specified and for all its descendants.
Returns: SalBoolean.
Frees memory for all descendants of the item specified.
Returns: SalBoolean.
Returns the current color of the list item.
Returns: SalNumber.
Determines whether the list box portion of a combo box is visible.
Returns: SalBoolean.
Returns the ITEM_* flags for the specified list item.
Returns: SalNumber.
Gets the index of the item which has the focus rectangle or the last item to receive the focus frame in a multiple-selection list box.
Returns: SalNumber.
Returns the current font of the list control item.
Returns: SalNumber.
Retrieves the color associated with an outline item.
Returns: SalNumber.
Returns: SalBoolean.
Gets item flags
Returns: SalNumber.
Retrieves the font associated with an outline item.
Returns: SalNumber.
Retrieves the item handle based on an index specified.
Returns: SalNumber.
Returns the index of the specified outline item.
Returns: SalNumber.
Returns: SalBoolean.
Returns the text for the outline item.
Returns: SalString.
Returns the value saved with the outline item.
Returns: SalNumber.
Returns the level number for an outline item.
Returns: SalNumber.
Retrieves the item handle for the next sibling of the specified item.
Returns: SalNumber.
Retrieves the item handle for the parent of the specified item.
Returns: SalNumber.
Returns: SalNumber.
Retrieves the item handle for the previous sibling of the specified item.
Returns: SalNumber.
Returns the handle for the root node.
Returns: SalNumber.
Returns the LBS_* style for the specified control.
Returns: SalNumber.
Returns the text of the list item.
Returns: SalString.
Returns the value associated to the list item.
Returns: SalNumber.
Inserts an item to the list control at the specified position and displays it in the specified color.
Returns: SalNumber.
Inserts an item to the list control at the specified position, displays it in the specified color and associates the specified value to the item.
Returns: SalNumber.
Adds an item to a list control at the specified index and displays it in the specified font.
Returns: SalNumber.
Adds an item to the list control, displays it in the specified font, and associates the specified value with the item.
Returns: SalNumber.
Inserts an item at the specified position and specifies an image for the normal and selected state.
Returns: SalNumber.
Inserts an item at the specified position and specifies an image for the normal and selected state, and associates a value to the item.
Returns: SalNumber.
Inserts an item into an unsorted list box or combo box and associates the specified value with the item.
Returns: SalNumber.
Returns true if the listbox is multiselect.
Returns: SalBoolean.
Inserts an item as the last child of the specified parent.
Returns: SalNumber.
hItem VisListLoadChildren( hWnd, hItemParent, hPicNormal, hPicSelect, sText[], nValue[], nItemFlags[*] )
Returns: SalNumber.
hItem VisListLoadOutline( hWnd, sBlob )
Returns: SalNumber.
hItem VisListLoadOutlineFile( hWnd, sFileName, hPicParentNormal, hPicParentSelect, hPicChildNormal, hPicChildSelect )
Returns: SalNumber.
hItem VisListLoadSibling( hWnd, hItemBefore, hPicNormal, hPicSelect, sText, nValue, nItemFlags )
Returns: SalNumber.
bOk VisListMoveDown( hWnd, nIndex )
Returns: SalBoolean.
bOk VisListMoveUp( hWnd, nIndex )
Returns: SalBoolean.
bOk VisListPromote( hWnd, nIndex, hpicNormal, hpicSelect )
Returns: SalBoolean.
Returns: SalNumber.
Scrolls an item into view.
Returns: SalNumber.
Sets the color of a list item.
Returns: SalBoolean.
Shows or hides the list box portion of a combo box.
Returns: SalBoolean.
Sets the ITEM_* flags for the specified list item.
Returns: SalNumber.
Sets the focus rectangle to the item at the specified index in a multiple-selection list box. If the item is not visible, it is scrolled into view.
Returns: SalNumber.
Sets the font of the list control item.
Returns: SalBoolean.
Sets the color of the outline item.
Returns: SalBoolean.
Updates the specified item.
Returns: SalNumber.
bOk VisListSetItemFlags( item, nItemFlags, bState )
Returns: SalBoolean.
Sets the font of the outline item.
Returns: SalBoolean.
Sets the picture of a list item
Returns: SalBoolean.
Sets the text of the outline item.
Returns: SalBoolean.
Sets the value associated to the outline item.
Returns: SalBoolean.
bOk VisListSetOutlineRedraw
Returns: SalBoolean.
Changes the normal and selected images for the specified item.
Returns: SalBoolean.
Sets the width by which a list box can be scrolled horizontally.
Returns: SalNumber.
Sets the LBS_* style of the specified control.
Returns: SalBoolean.
Changes the text of the list item at the specified index.
Returns: SalNumber.
Changes the value of the list item at the specified index.
Returns: SalNumber.
Expands list items up to the specified level.
Returns: SalBoolean.
Checks the menu.
Returns: SalBoolean.
Removes the menu at the requested position.
Returns: SalBoolean.
Disables the menu.
Returns: SalBoolean.
Enables the menu.
Returns: SalBoolean.
Returns the number of items in the specified menu.
Returns: SalNumber.
Returns the handle of the main menu of the specified form.
Returns: SalNumber.
Retrieves the menu handle of a pop-up menu.
Returns: SalNumber.
Returns: SalNumber.
Retrieves the text of a menu item.
Returns: SalString.
Inserts a menu item into a menu.
Returns: SalNumber.
Inserts a menu item into a menu and displays it in the specified font.
Returns: SalNumber.
Inserts a menu item into a menu and displays the specified picture with it.
Returns: SalNumber.
Returns true if the menu is checked.
Returns: SalBoolean.
Returns true if the menu is enabled.
Returns: SalBoolean.
Changes the font of a menu item created using the PPJ.
Returns: SalBoolean.
Displays a picture in a menu item created using the PPJ runtime.
Returns: SalBoolean.
Changes the text of a menu item.
Returns: SalBoolean.
Unchecks a menu item.
Returns: SalBoolean.
Displays a message box with user defined buttons.
Returns: SalNumber.
Displays a message box with user defined buttons.
Returns: SalNumber.
Frees the previously created MessageBox button.
Returns: SalBoolean.
Creates a button to be used in the MessageBox.
Returns: SalNumber.
Returns: SalNumber.
Returns: SalNumber.
nReturn VisNumberChoose( bExpression, nTrue, nFalse )
Returns: SalNumber.
nHighByte VisNumberHighByte( nNumber )
Returns: SalNumber.
nLowByte VisNumberLowByte( nNumber )
Returns: SalNumber.
nLong VisNumberMakeLong( nLowWord, nHighWord )
Returns: SalNumber.
Removes a picture and frees it's memory.
Returns: SalNumber.
Loads a picture into memory from a resource DLL/EXE, image file (.BMP or .ICO), SalResource or string.
Returns: SalNumber.
Adds all directories to a listbox or combobox.
Returns: SalNumber.
Populates the tree control with the specified directories.
Returns: SalNumber.
Adds all available drives to a listbox or combobox.
Returns: SalNumber.
Populates the control with the names of all the fonts.
Returns: SalNumber.
Deletes an entire section or a specific key from the specified ini file.
Returns: SalBoolean.
Retrieves all the keys for the specified section of an initialization file.
Returns: SalNumber.
Changes the current directory of a common dialog listbox or combobox.
Returns: SalString.
sReturn VisStrChoose( bExpression, sTrue, sFalse )
Returns: SalString.
sReturn VisStrExpand( sTemplate, hArray )
Returns: SalString.
VisStrFind looks up a Key in the string table identified by Handle and returns the value
Returns: SalString. Returns the value or an empty string if key was not found
bOk VisStrFreeTable( hTable )
Returns: SalBoolean.
sReturn VisStrLeftTrim( sSource )
Returns: SalString.
VisStrLoadTable loads the lines from a text file and returns a handle to it.
Returns: SalNumber. Returns a handle to the string table for later use with VisStrFind and VisStrFreeTable
Once a table is loaded, VisStrFindTable() can be used to access the values via key. The text file must contain lines following the syntax {Key}Value. Example:
sReturn VisStrPad( sSource, nSize )
Returns: SalString.
sReturn VisStrProper( sSource )
Returns: SalString.
sReturn VisStrRightTrim( sSource )
Returns: SalString.
nPos VisStrScanReverse( sSource, nPos, sSearch )
Returns: SalNumber.
sReturn VisStrSubstitute( sSource, sSearch, sReplace )
Returns: SalString.
sReturn VisStrTrim( sSource )
Returns: SalString.
Determines whether any rows in the specified table window match certain flags.
Returns: SalBoolean.
Performs a best fit on the display contents of a specific column.
Returns: SalBoolean.
Returns: SalBoolean.
Finds a DateTime in the table control.
Returns: SalNumber.
Finds a number in the table control.
Returns: SalNumber.
Finds a string in the table control.
Returns: SalNumber.
Retrieves the contents of a cell in a table window.
Returns: SalString.
Retrieves the contents of a column heading.
Returns: SalString.
Sets the text color for an entire row of a table window.
Returns: SalBoolean.
Sets the picture for a bit flag of a table window.
Returns: SalBoolean.
Sets the picture for a bit flag of a table window.
Returns: SalBoolean.
Sets the picture for a bit flag of a table window.
Returns: SalBoolean.
Turns hourglass cursor on or off.
Returns: SalNumber.
Clears the field edit flags for each data field or multi-line text field of a parent window.
Returns: SalNumber.
nNumCleared VisWinClearAllFields( hWndParent )
Returns: SalNumber.
Removes the accelerator.
Returns: SalBoolean.
Gets windows flags
Returns: SalNumber.
Obtains the control of the requested type and text.
Returns: SalWindowHandle.
Gets a windows property by name
Returns: SalNumber.
Retrieves the Windows style bits for a specified window.
Returns: SalNumber.
Obtains the text of a window.
Returns: SalString.
Tests whether a specified window is a child or direct descendant of a parent window.
Returns: SalBoolean.
Determines whether a window is maximized.
Returns: SalBoolean.
Determines whether the specified window is minimized (iconic).
Returns: SalBoolean.
Returns the first required field that is empty.
Returns: SalWindowHandle.
Determines whether the specified window is in the normal state.
Returns: SalBoolean.
Determines whether the specified window handle identifies an existing window.
Returns: SalBoolean.
Sets an accelerator keystroke for a window.
Returns: SalNumber.
Moves and resizes a window, based on pixel coordinates.
Returns: SalBoolean.
Set windows flags
Returns: SalBoolean.
Set windows property
Returns: SalBoolean.
Adds/Removes a window style to a window.
Returns: SalBoolean.
Changes the tab order of a control.
Returns: SalBoolean.
bOk VisWinShow( hWnd, nShowCmd )
Returns: SalBoolean.
Last updated