Vis

PPJ.Runtime.Vis.Vis

Namespace: PPJ.Runtime.Vis

Assembly: PPJ.Runtime.Vis.49 (4.9.0.0)

Contains all Vis.* static functions and constants.

public class Vis

Fields

NameTypeDescription

ACTION_Abort

abort

ACTION_Retry

retry

CAL_AlternateButtons

Not used.

CAL_EnableButtons

Not used.

CAL_EnableKeyboard

Not used.

CAL_EtchedLook

CAL_MultiSelect

CAL_SelectExtra

CAL_SelectSpecial

CAL_ShowExtra

CAL_ShowFocus

CAL_ShowGrid

CAL_ShowSpecial

CALN_DateChanged

Fired by VisCalendar as the wParam value with the SAM_CustControlCmd message when the use changes the selected date.

CALN_DateFinished

Fired by VisCalendar as the wParam value with the SAM_CustControlCmd message when the use leaves the control.

CALN_ErrSpace

Not used.

CALN_Scroll

Fired by VisCalendar as the wParam value with the SAM_CustControlCmd message when the use scrolls the calendar to a different month.

CAPTION_ErrorHandler

Not used.

COLOR_CAL_BackExtra

Indicates the background color of the days in the adjacent months in the VisCalendar control.

COLOR_CAL_BackLabel

Indicates the background color of the month name in the VisCalendar control.

COLOR_CAL_ForeDays

Indicates the text color of the days in the VisCalendar control.

COLOR_CAL_ForeExtra

Indicates the text color of the days in the adjacent months in the VisCalendar control.

COLOR_CAL_ForeMonth

Indicates the text color of the month name in the VisCalendar control.

COLOR_PAL_BackColor

COLOR_PAL_BackMenu

DAY_Friday

DAY_Monday

DAY_Saturday

DAY_Sunday

DAY_Thursday

DAY_Tuesday

DAY_Unset

DAY_Wednesday

DBF_IncrementalTime

DBF_MessageBox

DBF_RealTime

DESKTOP_MyComputer

Value associated with the computer node in the VisDesktopListBox control.

DESKTOP_NetworkNeighborhood

Value associated with the network neighborhood node in the VisDesktopListBox control.

DESKTOP_Root

Value associated with the desktop node in the VisDesktopListBox control.

DOS_BreakFlag

DOS_ErrorMode

DOS_VerifyFlag

DRIVE_CDROM

CD drive

DRIVE_Fixed

fixed drive

DRIVE_Floppy

floppy drive

DRIVE_Network

network drive

DRIVE_RAM

RAM drive

DROP_Child

Drop Flags

DROP_Sibling

DT_Handle

Indicates a SalWindowHandle data type.

EM_SetReadOnly

Edit control messages

FA_Volume

File attribute flags

FILETYPE_Document

FILETYPE_Other

FILETYPE_Program

File types

FILETYPE_System

FONTTYPE_Device

FONTTYPE_Raster

FONTTYPE_TrueType

hPicNull

Null picture handle.

ITEM_CanCollapse

ITEM_CanDemote

ITEM_CanExpand

ITEM_CanMoveDown

ITEM_CanMoveUp

ITEM_CanPromote

ITEM_IsDeleted

ITEM_IsDisabled

ITEM_IsExpanded

ITEM_IsFocus

ITEM_IsFrame

ITEM_IsHidden

ITEM_IsParent

ITEM_IsSelected

KDS_Alt

KDS_AltCtrl

KDS_AltShift

KDS_Ctrl

KDS_None

KDS_Shift

KDS_ShiftAltCtrl

KDS_ShiftCtrl

KS_Down

KS_LockOn

LBS_DisableNoScroll

LBS_DragSelect

LBS_Editable

LBS_Explorer

LBS_ExtendedCombo

LBS_FmtLowercase

LBS_FmtMixedcase

LBS_FmtUppercase

LBS_KillFocusFrameSelect

LBS_KillFocusNoSelect

LBS_NoAutoResize

LBS_SetWidthEachInsert

LBS_ShowHorzScrollBar

LBS_ShowNoEditSelect

LBS_ShowNoEditText

LBS_ShowNoSelect

LBS_ShowNoTree

LBS_ShowPicCenter

LBS_ShowSelectBkgd

LBS_ShowSelectColor

LBS_ShowSelectText

LBS_ShowSelectTextPicture

LBS_VisExtensions

LVA_AligLeft

LVA_AligTop

LVA_Default

LVA_SnapToGrid

LVCF_Fmt

LVCF_Text

LVCF_Width

LVCFMT_Center

LVCFMT_JustifyMask

LVCFMT_Left

LVCFMT_Right

LVFI_NearestXY

LVFI_Partial

LVFI_String

LVFI_Wrap

LVHT_Above

LVHT_Below

LVHT_Nowhere

LVHT_OnItem

LVHT_OnItemIcon

LVHT_OnItemLabel

LVHT_OnItemStateIcon

LVHT_ToLeft

LVHT_ToRight

LVIF_Image

LVIF_Param

LVIF_State

LVIF_Text

LVIR_Bounds

LVIR_Icon

LVIR_Label

LVIR_SelectBounds

LVIS_Cut

LVIS_DropHilited

LVIS_Focused

LVIS_Selected

LVIS_StateImageMask

LVN_BeginDrag

LVN_BeginRDrag

LVN_ColumnClick

LVN_DeleteAllItems

LVN_DeleteItem

LVN_First

LVN_InsertItem

LVN_ItemChanged

LVN_ItemChanging

LVNI_Above

LVNI_All

LVNI_Below

LVNI_Cut

LVNI_DropHilited

LVNI_Focused

LVNI_Selected

LVNI_ToLeft

LVNI_ToRight

LVS_AlignLeft

LVS_AlignMask

LVS_AlignTop

LVS_AutoArrange

LVS_EditLabels

LVS_Icon

LVS_List

LVS_NoColumnHeader

LVS_NoLabelWrap

LVS_NoScroll

LVS_NoSortHeader

LVS_Report

LVS_ShowSelAlways

LVS_SingleSel

LVS_SmallIcon

LVS_TypeMask

LVS_TypeStyleMask

LVSORT_Ascending

sort ascending

LVSORT_Descending

sort descending

MBF_IconAsterisk

MBF_IconError

MBF_IconExclamation

MBF_IconHand

MBF_IconInformation

MBF_IconQuestion

MBF_IconStop

MBF_IconWarning

MF_Check

checked

MF_Disable

disabled

MF_Separator

menu separator

NM_Click

NM_DoubleClick

NM_First

NM_KillFocus

NM_OutOfMemory

NM_Return

NM_RightClick

NM_RightDoubleClick

NM_SetFocus

ORIENT_SPLIT_Horizontal

ORIENT_SPLIT_Unset

ORIENT_SPLIT_Vertical

PAL_EnableMRUColors

PAL_NoHideSelects

PALETTE_Main

PALETTE_MRU

PALN_Changed

PALN_ErrSpace

PALN_Finished

PALN_Menu

PIC_LoadFile

PIC_LoadLargeIcon

PIC_LoadResource

PIC_LoadSmallIcon

PIC_LoadSWinRes

PIC_LoadSWinStr

PicDesktop

Image used to represent the desktop node in the VisDesktopListBox control.

PicDriveCD

CD drive

PicDriveFixed

fixed drive

PicDriveFloppy

floppy drive

PicDriveNetwork

network drive

PicDriveRemovable

removable drive

PicFolderClosed

Image used to represent a closed node in the VisOutlineListBox control.

PicFolderOpen

Image used to represent an open node in the VisOutlineListBox control.

PicMyComputer

Image used to represent the computer node in the VisDesktopListBox control.

PicNetworkNeighborhood

Image used to represent the network neighborhood node in the VisDesktopListBox control.

PicTTFont

the image used to populate the fonts

REF_AutoHScroll

REF_AutoVScroll

REF_AutoWordSelection

REF_CFE_AutoColor

REF_CFE_Bold

REF_CFE_Italic

REF_CFE_Protected

REF_CFE_Strikeout

REF_CFE_Underline

REF_FT_MatchCase

matches case

REF_FT_WholeWord

matches whole word

REF_NoHideSel

REF_PFA_Center

REF_PFA_Left

REF_PFA_Right

REF_PFN_Bullet

Paragraph Format Numbering Flags (duplicates of PFN_ constants from Microsoft's RICHEDIT.H)

REF_ReadOnly

REF_SaveSelection

REF_SEL_Empty

REF_SEL_MultiChar

REF_SEL_MultiObject

REF_SEL_Object

REF_SEL_Text

REF_Vertical

REGION_Main

REGION_Menu

REGION_MRU

REN_Change

REN_ErrSpace

REN_HScroll

REN_MaxText

REN_Protected

REN_RequestResize

REN_SelChange

REN_Update

REN_VScroll

ROW_UserFlag1

ROW_UserFlag2

ROW_UserFlag3

ROW_UserFlag4

ROW_UserFlag5

SEEK_Begin

SEEK_Current

SEEK_End

SEQ_First

SEQ_Fourth

SEQ_Last

SEQ_Second

SEQ_Third

SEQ_Unset

SHOW_AllLevels

Show All Levels

SHOW_Hidden

SHOW_Maximized

SHOW_Minimized

SHOW_Normal

SM_DBCSEnabled

SM_Debug

SM_MenuDropAlignment

SM_MousePresent

SM_PenWindows

SM_SwapButton

SM_XBorder

SM_XCursor

SM_XDlgFrame

SM_XDoubleClick

SM_XFrame

SM_XFullScreen

SM_XHScroll

SM_XHThumb

SM_XIcon

SM_XIconSpacing

SM_XMin

SM_XMinTrack

SM_XScreen

SM_XSize

SM_XVScroll

SM_YBorder

SM_YCaption

SM_YCursor

SM_YDlgFrame

SM_YDoubleClick

SM_YFrame

SM_YFullScreen

SM_YHScroll

SM_YIcon

SM_YIconSpacing

SM_YKanjiWindow

SM_YMenu

SM_YMin

SM_YMinTrack

SM_YScreen

SM_YSize

SM_YVScroll

SM_YVThumb

SORT_Ascending

Sort ascending flag for ArraySort.

SORT_Descending

Sort descending flag for ArraySort

SPECIAL_MonthlyDOM

SPECIAL_MonthlyDOW

SPECIAL_OneTime

SPECIAL_Unset

SPECIAL_Weekly

SPECIAL_Yearly

SPECIAL_YearlyDOW

VK_0

VK_1

VK_2

VK_3

VK_4

VK_5

VK_6

VK_7

VK_8

VK_9

VK_A

VK_Add

VK_Alt

VK_B

VK_Backspace

VK_C

VK_Cancel

VK_CapsLock

VK_Clear

VK_Control

VK_D

VK_Decimal

VK_Delete

VK_Divide

VK_Down

VK_E

VK_End

VK_Enter

VK_Escape

VK_Execute

VK_F

VK_F1

VK_F10

VK_F11

VK_F12

VK_F2

VK_F3

VK_F4

VK_F5

VK_F6

VK_F7

VK_F8

VK_F9

VK_G

VK_H

VK_Help

VK_Home

VK_I

VK_Insert

VK_J

VK_K

VK_L

VK_Left

VK_LeftButton

VK_M

VK_MiddleButton

VK_Multiply

VK_N

VK_NumLock

VK_O

VK_P

VK_PageDown

VK_PageUp

VK_Pause

VK_PrintScreen

VK_Q

VK_R

VK_Right

VK_RightButton

VK_S

VK_ScrollLock

VK_Select

VK_Separator

VK_Shift

VK_Space

VK_Subtract

VK_T

VK_Tab

VK_U

VK_Up

VK_V

VK_W

VK_X

VK_Y

VK_Z

VT_DLLName

VT_SWP_NoZOrder

Show Window Flags

VTERR_AccessDenied

VTERR_BadNetName

VTERR_BadNetPath

VTERR_DiskFull

VTERR_DriveNotReady

VTERR_EndOfFile

VTERR_FileNotFound

VTERR_InvalidData

VTERR_InvalidDrive

VTERR_InvalidHandle

VTERR_InvalidParameter

VTERR_LockViolation

VTERR_NetNameDeleted

VTERR_NetworkAccessDenied

VTERR_NetworkBusy

VTERR_NetworkUnreachable

VTERR_NetWriteFault

VTERR_NoMemory

VTERR_NoMoreFiles

VTERR_Ok

VTERR_PathNotFound

VTERR_ReadFault

VTERR_SharingViolation

VTERR_TooManyFiles

VTERR_WriteFault

VTERR_WriteProtected

VTM_Accelerator

VTM_Base

VTM_Char

VTM_Click

VTM_ControlCreate

VTM_Create

VTM_CreateComplete

VTM_Destroy

VTM_Enable

VTM_EraseBkgnd

VTM_KeyDown

VTM_KeyUp

VTM_LeftClick

VTM_LeftDoubleClick

VTM_LVColumnClick

! ***message returning Column header clicked

VTM_MenuSelect

VTM_MiddleClick

VTM_MiddleDoubleClick

VTM_OutlineCornerClick

VTM_Populate

VTM_RightClick

VTM_RightDoubleClick

VTM_Size

VTM_SpinGetValue

VTM_SpinScrollDown

VTM_SpinScrollUp

VTM_SpinSetIncrement

VTM_SpinSetMax

VTM_SpinSetMin

VTM_SpinSetValue

VTPIC_BookClosed

VTPIC_BookOpen

VTPIC_BookShelf2

VTPIC_BookShelf3

VTPIC_CheckBlack

VTPIC_CheckBoxOff

VTPIC_CheckBoxOn

VTPIC_CheckWhite

VTPIC_Desktop

VTPIC_DiamondBlackClosed

VTPIC_DiamondBlackOpen

VTPIC_DiamondWhiteClosed

VTPIC_DiamondWhiteOpen

VTPIC_DriveCDROM

VTPIC_DriveCDROM2

VTPIC_DriveFixed

VTPIC_DriveFloppy

VTPIC_DriveNetwork

VTPIC_DriveNetworkX

VTPIC_DriveRAM

VTPIC_Empty

VTPIC_FileAllOther

VTPIC_FileDocuments

VTPIC_FilePrograms

VTPIC_FileSystem

VTPIC_Folder

VTPIC_Folder2

VTPIC_FolderCur

VTPIC_FolderCurMinus

VTPIC_FolderCurPlus

VTPIC_FolderMinus

VTPIC_FolderOpen

VTPIC_FolderOpen2

VTPIC_FolderPlus

VTPIC_FontPrinter

VTPIC_FontTrueType

VTPIC_MinusDark

VTPIC_MinusLight

VTPIC_MinusWhite

VTPIC_MyComputer

VTPIC_NetworkNeighborhood

VTPIC_PlusDark

VTPIC_PlusLight

VTPIC_PlusWhite

VTPIC_PrevDirectory

VTPIC_RadioOff

VTPIC_RadioOn

WAIT_SysModalOff

WAIT_SysModalOn

WAIT_TempOff

WAIT_TempOn

WF_80x87

WF_CPU286

WF_CPU386

WF_CPU486

WF_DisplayOnly

WF_EnableWhenNotNull

WF_Enhanced

WF_FitPath

WF_NoClear

WF_NoClearEditFlag

WF_Paging

WF_PMode

WF_Required

Window Flags

WF_Standard

WF_WLO

Methods

Appends one array to the end of another array.

ParameterTypeDescription

SourceArray

TargetArray

dataType

Returns: SalNumber.

Copies the source array to the target array.

ParameterTypeDescription

SourceArray

TargetArray

dataType

Returns: SalNumber.

Deletes an item from an array.

ParameterTypeDescription

array

index

dataType

Returns: SalNumber.

Fills a Date/Time array with the specified date/time value.

ParameterTypeDescription

array

value

count

Returns: SalBoolean.

Fills a Number array with the specified numeric value.

ParameterTypeDescription

array

value

count

Returns: SalBoolean.

Fills a String array with the specified string value.

ParameterTypeDescription

array

value

count

Returns: SalBoolean.

Locates a date/time value within an array.

ParameterTypeDescription

array

searchFor

Returns: SalNumber.

Locates a numeric value within an array.

ParameterTypeDescription

array

searchFor

Returns: SalNumber.

Locates a numeric value within an array.

ParameterTypeDescription

array

searchFor

Returns: SalNumber.

Locates a string value within an array.

ParameterTypeDescription

array

searchFor

Returns: SalNumber.

Inserts an item into an array.

ParameterTypeDescription

array

index

dataType

Returns: SalNumber.

Sorts an array.

ParameterTypeDescription

array

sortOrder

dataType

Returns: SalNumber.

ParameterTypeDescription

expression

DebugString

Returns: SalBoolean.

Returns: SalBoolean.

ParameterTypeDescription

Context

DebugLevel

Returns: SalBoolean.

Returns: SalNumber.

ParameterTypeDescription

Flags

Mode

Returns: SalNumber.

ParameterTypeDescription

DebugLevel

Returns: SalBoolean.

ParameterTypeDescription

Context

Returns: SalBoolean.

ParameterTypeDescription

DebugString

DebugLevel

Returns: SalBoolean.

Composes a full path by combining the current directory and the specified file name.

ParameterTypeDescription

moduleName

fileName

Returns: SalString.

Returns information about the directories selected using the specified wild card.

ParameterTypeDescription

dirSpec

dirs

dateTimes

attributes

Returns: SalNumber.

Enumerates all the directories using the specified wild card.

ParameterTypeDescription

dirSpec

dirs

Returns: SalNumber.

Enumerates all the logical drives.

ParameterTypeDescription

drives

Returns: SalNumber.

Returns information for the files selected using the specified wild card.

ParameterTypeDescription

fileSpec

attribute

files

sizes

dateTimes

attributes

Returns: SalNumber.

Enumerates all the files using the specified wild card.

ParameterTypeDescription

fileSpec

File name or file pattern of the files to retrieve.

attributes

The attributes of the files to retrieve.

files

Returns the names of the files that match the specified name and attributes.

Returns: SalNumber.

Enumerates all the network connections.

ParameterTypeDescription

devices

netNames

Returns: SalNumber.

Enumerates all the paths in the PATH environment variable.

ParameterTypeDescription

directories

Returns: SalNumber.

Checks if the specified directory exists.

ParameterTypeDescription

fileSpec

The path of the file or director to check.

Returns: SalBoolean.

Returns the current directory.

ParameterTypeDescription

drive

Returns: SalString.

ParameterTypeDescription

drive

totalSpace

freeSpace

Returns: SalNumber.

Returns the type of the specified drive.

ParameterTypeDescription

drive

The drive letter to check.

Returns: SalNumber.

Gets environment value for the specified name .

ParameterTypeDescription

name

The name of the environment variable to read.

Returns: SalString.

Returns: SalNumber.

Retrieves the name of the network resource associated with a local device.

ParameterTypeDescription

device

Returns: SalString.

Returns the OS version.

Returns: SalNumber.

Returns the volume label of the specified drive.

ParameterTypeDescription

drive

The drive letter for which to read the volume label.

Returns: SalString.

Returns TRUE if directory contains subdirectories

ParameterTypeDescription

dirSpec

The name of the directory; or empty for the current directory.

Returns: SalBoolean.

Makes directory including all subdirectories.

ParameterTypeDescription

dir

Path name of the directory and subdirectories to create.

Returns: SalNumber.

Combines drive, dir, base and extension to a file path

ParameterTypeDescription

drive

dir

baseStr

ext

Returns: SalString.

Makes a connection to a network resource.

ParameterTypeDescription

device

netName

password

Returns: SalNumber.

Disconnect a connection

ParameterTypeDescription

device

force

Returns: SalNumber.

ParameterTypeDescription

Flags

state

Returns: SalNumber.

Sets the label of a file system volume.

ParameterTypeDescription

drive

label

Returns: SalNumber.

ParameterTypeDescription

fileSpec

drive

dir

baseStr

ext

Returns: SalNumber.

Displays an error message and allows user to retry the operation or halt the application.

ParameterTypeDescription

Caption

Returns: SalNumber.

Appends one file to another.

ParameterTypeDescription

sourceFile

targetFile

Returns: SalNumber.

Closes a file.

ParameterTypeDescription

file

Returns: SalNumber.

Copies a file

ParameterTypeDescription

sourceFile

targetFile

Returns: SalNumber.

Gets a new temp file name.

ParameterTypeDescription

prefix

Returns: SalString.

Deletes a file.

ParameterTypeDescription

fileName

Returns: SalNumber.

ParameterTypeDescription

sourceFile

targetFile

Returns: SalNumber.

Searches for a file.

ParameterTypeDescription

fileName

Returns: SalString.

Gets the attribute bit values for the specified file.

ParameterTypeDescription

fileName

Returns: SalNumber.

Gets the size of the specified file.

ParameterTypeDescription

fileName

Returns: SalNumber.

Gets the type of the specified file.

ParameterTypeDescription

fileName

Returns: SalNumber.

ParameterTypeDescription

file

fileName

flags

Returns: SalNumber.

ParameterTypeDescription

file

buffer

size

Returns: SalNumber.

ParameterTypeDescription

file

buffer

numBytes

Returns: SalNumber.

ParameterTypeDescription

file

line

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.

ParameterTypeDescription

sourceFile

targetFile

Returns: SalNumber.

Positions within a file.

ParameterTypeDescription

file

offset

origin

Returns: SalNumber.

Sets attributes for a file.

ParameterTypeDescription

fileName

attributes

state

Returns: SalNumber.

Sets datetime of a file.

ParameterTypeDescription

fileName

dateTime

Returns: SalNumber.

Returns current offset in an open file.

ParameterTypeDescription

file

Returns: SalNumber.

Writes a buffer to a file.

ParameterTypeDescription

file

buffer

size

Returns: SalNumber.

Writes the binary buffer to the file.

ParameterTypeDescription

file

buffer

Returns: SalNumber.

Writes the line of text to the file.

ParameterTypeDescription

file

line

Returns: SalNumber.

Enumerates all the installed fonts.

ParameterTypeDescription

Type

Names

Types

Returns: SalNumber.

Release the font handle.

ParameterTypeDescription

fontHandle

Returns: SalBoolean.

ParameterTypeDescription

fontHandle

faceName

pointSize

fontFlags

Returns: SalBoolean.

Loads the specified font.

ParameterTypeDescription

faceName

pointSize

enhFlags

Returns: SalNumber.

Retrieves the current directory of a common dialog list box or combo box.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

Returns: SalString.

Retrieves a copyright string.

Returns: SalString.

Retrieves the state of a specified key.

ParameterTypeDescription

VirtKey

Returns: SalNumber.

Retrieves various system metrics (widths and heights of display elements) and system configuration settings.

ParameterTypeDescription

index

Returns: SalNumber.

Gets version information.

Returns: SalString.

Returns: SalNumber.

Gets windows version information.

Returns: SalNumber.

Adds an item to the list and displays it in the specified color.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

text

color

Returns: SalNumber.

Adds an item to the list, displays it in the specified color and associates the specified value with the item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

text

color

value

Returns: SalNumber.

Adds an item to the list control and displays it in the specified font.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

text

fontHandle

Returns: SalNumber.

Adds an item to the list control, displays it in the specified font and associates the specified value to the item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

text

fontHandle

value

Returns: SalNumber.

Adds an item to the list control and specified an image for the normal and selected state.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

text

picNormal

picSelected

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.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

text

picNormal

picSelected

value

Returns: SalNumber.

Adds an item to a sorted list box or combo box and associates the specified value with the item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

text

value

Returns: SalNumber.

Populates a list box from a string array.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

items

Returns: SalNumber.

Populates a list box from a string and a value array.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

items

values

Returns: SalNumber.

Unselects all selected items in a list box or combo box.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

Returns: SalBoolean.

Collapses all descendant items.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

Returns: SalBoolean.

Deletes the child item from the tree control.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

Returns: SalNumber.

Deletes all descendants (children, grandchildren, and so on) of the specified child.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

Returns: SalNumber.

Deletes all selected items from a list box or combo box.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

Returns: SalNumber.

Moves an item and all descendants of the item right in the outline.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

picNormal

picSelect

Returns: SalBoolean.

Disables the specified item and sets the specified color.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

color

Returns: SalNumber.

Implements drag and drop

ParameterTypeDescription

ctrl

Target control on which to execute the call.

sourceIndex

targetCtrl

targetIndex

dropFlags

Returns: SalBoolean.

Enables the specified item and sets the specified color.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

color

Returns: SalNumber.

Enumerates child item handles for a specified item.

ParameterTypeDescription

item

items

Returns: SalNumber.

Enumerates descendant (children, grandchildren, and so on) item handles for a specified item.

ParameterTypeDescription

item

items

Returns: SalNumber.

Expands an outline one level at the index specified.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

Returns: SalNumber.

Displays all descendants of an item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

Returns: SalBoolean.

Finds list item by value

ParameterTypeDescription

item

value

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.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

startIndex

text

Returns: SalNumber.

Finds the first value that matches the specified value in a list box or combo box.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

startIndex

value

Returns: SalNumber.

Frees memory for the item specified and for all its descendants.

ParameterTypeDescription

item

Returns: SalBoolean.

Frees memory for all descendants of the item specified.

ParameterTypeDescription

item

Returns: SalBoolean.

Returns the current color of the list item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

Returns: SalNumber.

Determines whether the list box portion of a combo box is visible.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

Returns: SalBoolean.

Returns the ITEM_* flags for the specified list item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

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.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

Returns: SalNumber.

Returns the current font of the list control item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

Returns: SalNumber.

Gets list index from a point

ParameterTypeDescription

ctrl

Target control on which to execute the call.

X

Y

Returns: SalNumber.

Retrieves the color associated with an outline item.

ParameterTypeDescription

item

Returns: SalNumber.

ParameterTypeDescription

item

text

value

itemFlags

Returns: SalBoolean.

Gets item flags

ParameterTypeDescription

item

Returns: SalNumber.

Retrieves the font associated with an outline item.

ParameterTypeDescription

item

Returns: SalNumber.

Retrieves the item handle based on an index specified.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

Returns: SalNumber.

Returns the index of the specified outline item.

ParameterTypeDescription

item

Returns: SalNumber.

ParameterTypeDescription

item

picNormal

picSelect

Returns: SalBoolean.

Returns the text for the outline item.

ParameterTypeDescription

item

Returns: SalString.

Returns the value saved with the outline item.

ParameterTypeDescription

item

Returns: SalNumber.

Returns the level number for an outline item.

ParameterTypeDescription

item

Returns: SalNumber.

Retrieves the item handle for the next sibling of the specified item.

ParameterTypeDescription

item

Returns: SalNumber.

Retrieves the item handle for the parent of the specified item.

ParameterTypeDescription

item

Returns: SalNumber.

ParameterTypeDescription

ctrl

index

picNormal

picSelected

Returns: SalNumber.

Retrieves the item handle for the previous sibling of the specified item.

ParameterTypeDescription

item

Returns: SalNumber.

Returns the handle for the root node.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

Returns: SalNumber.

Returns the LBS_* style for the specified control.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

Returns: SalNumber.

Returns the text of the list item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

Returns: SalString.

ParameterTypeDescription

ctrl

index

top

left

bottom

right

Returns: SalBoolean.

Returns the value associated to the list item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

Returns: SalNumber.

ParameterTypeDescription

ctrl

top

bottom

Returns: SalNumber.

Inserts an item to the list control at the specified position and displays it in the specified color.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

text

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.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

text

color

value

Returns: SalNumber.

Adds an item to a list control at the specified index and displays it in the specified font.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

text

fontHandle

Returns: SalNumber.

Adds an item to the list control, displays it in the specified font, and associates the specified value with the item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

text

fontHandle

value

Returns: SalNumber.

Inserts an item at the specified position and specifies an image for the normal and selected state.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

text

picNormal

picSelected

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.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

text

picNormal

picSelected

value

Returns: SalNumber.

Inserts an item into an unsorted list box or combo box and associates the specified value with the item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

text

value

Returns: SalNumber.

Returns true if the list box is multi select.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

Returns: SalBoolean.

Inserts an item as the last child of the specified parent.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

itemParent

picNormal

picSelect

text

value

itemFlags

Returns: SalNumber.

Loads with arrays from children

ParameterTypeDescription

ctrl

Target control on which to execute the call.

itemParent

picNormal

picSelect

texts

values

itemFlags

Returns: SalNumber.

Load outline from a blob

ParameterTypeDescription

ctrl

Target control on which to execute the call.

blob

Returns: SalNumber.

Load outline from a file

ParameterTypeDescription

ctrl

Target control on which to execute the call.

fileName

picParentNormal

picParentSelect

picChildNormal

picChildSelect

Returns: SalNumber.

Load sibling

ParameterTypeDescription

ctrl

Target control on which to execute the call.

itemBefore

picNormal

picSelect

text

value

itemFlags

Returns: SalNumber.

Move item down

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

Returns: SalBoolean.

Move item up

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

Returns: SalBoolean.

Promote item

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

picNormal

picSelect

Returns: SalBoolean.

ParameterTypeDescription

ctrl

blob

Returns: SalNumber.

Scrolls an item into view.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

Returns: SalNumber.

Sets the color of a list item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

color

Returns: SalBoolean.

Shows or hides the list box portion of a combo box.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

state

Returns: SalBoolean.

Sets the ITEM_* flags for the specified list item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

itemFlags

state

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.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

Returns: SalNumber.

Sets the font of the list control item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

fontHandle

Returns: SalBoolean.

Set list indentation

ParameterTypeDescription

ctrl

Target control on which to execute the call.

indent

Returns: SalBoolean.

Sets the color of the outline item.

ParameterTypeDescription

item

color

Returns: SalBoolean.

Updates the specified item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

item

text

value

itemFlags

Returns: SalNumber.

Sets item flags

ParameterTypeDescription

item

itemFlags

state

Returns: SalBoolean.

Sets the font of the outline item.

ParameterTypeDescription

item

fontHandle

Returns: SalBoolean.

Sets the picture of a list item

ParameterTypeDescription

item

picNormal

picSelect

Returns: SalBoolean.

Sets the text of the outline item.

ParameterTypeDescription

item

text

Returns: SalBoolean.

Sets the value associated to the outline item.

ParameterTypeDescription

item

value

Returns: SalBoolean.

Sets outline redraw

ParameterTypeDescription

ctrl

Target control on which to execute the call.

redraw

Returns: SalBoolean.

Changes the normal and selected images for the specified item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

picNormal

picSelected

Returns: SalBoolean.

Sets the width by which a list box can be scrolled horizontally.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

Returns: SalNumber.

Sets the LBS_* style of the specified control.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

style

lParam

Returns: SalBoolean.

Changes the text of the list item at the specified index.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

text

Returns: SalNumber.

Changes the value of the list item at the specified index.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

value

Returns: SalNumber.

Expands list items up to the specified level.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

level

Returns: SalBoolean.

Checks the menu.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

menu

pos

Returns: SalBoolean.

Removes the menu at the requested position.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

menu

pos

Returns: SalBoolean.

Disables the menu.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

menu

pos

Returns: SalBoolean.

Enables the menu.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

menu

pos

Returns: SalBoolean.

Returns the number of items in the specified menu.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

menu

Returns: SalNumber.

Returns the handle of the main menu of the specified form.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

Returns: SalNumber.

Retrieves the menu handle of a pop-up menu.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

menu

pos

Returns: SalNumber.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

Returns: SalNumber.

Retrieves the text of a menu item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

menu

pos

Returns: SalString.

Inserts a menu item into a menu.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

menu

pos

text

flags

Returns: SalNumber.

Inserts a menu item into a menu and displays it in the specified font.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

menu

pos

fontHandle

text

Returns: SalNumber.

Inserts a menu item into a menu and displays the specified picture with it.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

menu

pos

picNormal

picSelected

text

Returns: SalNumber.

Returns true if the menu is checked.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

menu

pos

Returns: SalBoolean.

Returns true if the menu is enabled.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

menu

pos

Returns: SalBoolean.

Changes the font of a menu item created using the PPJ.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

menu

pos

fontHandle

text

Returns: SalBoolean.

Displays a picture in a menu item created using the PPJ runtime.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

menu

pos

picNormal

picSelected

text

Returns: SalBoolean.

Changes the text of a menu item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

menu

pos

text

Returns: SalBoolean.

Unchecks a menu item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

menu

pos

Returns: SalBoolean.

Displays a message box with user defined buttons.

ParameterTypeDescription

sMsgText

Text to display in the MessageBox/

sCaption

Title of the MessageBox.

hPicIcon

Handle of the icon to display in the MessageBox.

hBtnHandles

List of MessageBox buttons created using MessageLoadButton.

nNumButtons

Number of MessageBox buttons in hBtnHandles .

Returns: SalNumber.

Displays a message box with user defined buttons.

ParameterTypeDescription

sMsgText

Text to display in the MessageBox/

sCaption

Title of the MessageBox.

hPicIcon

Handle of the icon to display in the MessageBox.

hBtnHandles

List of MessageBox buttons created using MessageLoadButton.

nNumButtons

Number of MessageBox buttons in hBtnHandles .

nDefButtonIndex

Index of the default button in hBtnHandles .

Returns: SalNumber.

Frees the previously created MessageBox button.

ParameterTypeDescription

button

Returns: SalBoolean.

Creates a button to be used in the MessageBox.

ParameterTypeDescription

label

id

Returns: SalNumber.

Sets the background color for the customized message box.

ParameterTypeDescription

color

Returns: SalBoolean.

ParameterTypeDescription

value

bitMask

Returns: SalNumber.

ParameterTypeDescription

value

bitMask

Returns: SalNumber.

Evaluates expression. If the expression evaluates to TRUE, the function returns the value stored in TrueValue if the expression evaluates to FALSE, the function returns the value stored in FalseValue. The expression may be a constant, an expression, or a variable.

ParameterTypeDescription

expression

trueValue

falseValue

Returns: SalNumber.

Returns the HighByte of a number

ParameterTypeDescription

num

Returns: SalNumber.

Returns the LowByte of a number

ParameterTypeDescription

num

Returns: SalNumber.

Combines a LowWord and a HighWord to a Long

ParameterTypeDescription

lowWord

highWord

Returns: SalNumber.

Removes a picture and frees it's memory.

ParameterTypeDescription

Pic

Returns: SalNumber.

Loads a picture into memory from a resource DLL/EXE, image file (.BMP or .ICO), SalResource or string.

ParameterTypeDescription

flags

resource

imageName

Returns: SalNumber.

Adds all directories to a list box or combo box.

ParameterTypeDescription

ctrl

A control implementing the ISalListControl interface.

directory

Path to the root directory.

Returns: SalNumber. Number of items added to the ctrl .

Populates the tree control with the specified directories.

ParameterTypeDescription

ctrl

A control that inherits the VisListBoxExtension class.

directory

Path to the root directory.

Returns: SalNumber. Number of items added to the ctrl .

Adds all available drives to a list box or combo box.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

Returns: SalNumber.

Populates the control with the names of all the fonts.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

fontType

Not used

Returns: SalNumber.

Deletes an entire section or a specific key from the specified .ini file.

ParameterTypeDescription

fileName

section

entry

Returns: SalBoolean.

Retrieves all the keys for the specified section of an initialization file.

ParameterTypeDescription

fileName

section

strings

Returns: SalNumber.

Sends a message and passes a string in the lParam.

ParameterTypeDescription

hWnd

message

wParam

lParam

Returns: SalNumber.

Changes the current directory of a common dialog list box or combo box.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

index

Returns: SalString.

sReturn VisStrChoose( expression, TrueValue, FalseValue )

ParameterTypeDescription

expression

trueValue

falseValue

Returns: SalString.

Replaces the template placeholders with the values in the specified array .

ParameterTypeDescription

template

array

Returns: SalString.

VisStrFind looks up a key in the string table identified by Handle and returns the value

ParameterTypeDescription

table

A handle to the string table (returned by VisStrLoadTable()

key

The key to look up in the string table

Returns: SalString. Returns the value or an empty string if key was not found

Frees string table

ParameterTypeDescription

table

Returns: SalBoolean.

left trims a string

ParameterTypeDescription

source

Returns: SalString.

VisStrLoadTable loads the lines from a text file and returns a handle to it. 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: {Error.User}User unknown {Error.Password}Incorrect password {Version}Version 1.4.7

ParameterTypeDescription

fileName

The name of the text file to be loaded

Returns: SalNumber. Returns a handle to the string table for later use with VisStrFind and VisStrFreeTable

Pads a string

ParameterTypeDescription

source

size

Returns: SalString.

Makes a proper string

ParameterTypeDescription

source

Returns: SalString.

Right trims a string

ParameterTypeDescription

source

Returns: SalString.

Scans for a string (reverse)

ParameterTypeDescription

source

position

search

Returns: SalNumber.

Substitutes Search with Replace in string

ParameterTypeDescription

source

search

replace

Returns: SalString.

Trim a string

ParameterTypeDescription

Source

Returns: SalString.

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

ParameterTypeDescription

table

flagsOn

flagsOff

Returns: SalBoolean.

Performs a best fit on the display contents of a specific column.

ParameterTypeDescription

table

column

Returns: SalBoolean.

Clears column selection

ParameterTypeDescription

table

Returns: SalBoolean.

Finds a DateTime in the table control.

ParameterTypeDescription

table

row

column

date

Returns: SalNumber.

Finds a number in the table control.

ParameterTypeDescription

table

row

column

number

Returns: SalNumber.

Finds a string in the table control.

ParameterTypeDescription

table

row

column

pattern

Returns: SalNumber.

Retrieves the contents of a cell in a table window.

ParameterTypeDescription

table

row

column

Returns: SalString.

Retrieves the contents of a column heading.

ParameterTypeDescription

column

Returns: SalString.

Sets the text color for an entire row of a table window.

ParameterTypeDescription

table

row

color

Returns: SalBoolean.

Sets the picture for a bit flag of a table window.

ParameterTypeDescription

table

rowFlags

picture

Returns: SalBoolean.

Turns hourglass cursor on or off.

ParameterTypeDescription

Flags

Returns: SalNumber.

Clears the field edit flags for each data field or multi-line text field of a parent window.

ParameterTypeDescription

parent

Returns: SalNumber.

Clears all fields

ParameterTypeDescription

parent

Returns: SalNumber.

Enumerates windows properties

ParameterTypeDescription

hWnd

propNames

propValues

Returns: SalNumber.

Removes the accelerator.

ParameterTypeDescription

accelerator

Returns: SalBoolean.

Gets windows flags

ParameterTypeDescription

hWnd

Returns: SalNumber.

Obtains the control of the requested type and text.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

text

type

Returns: SalWindowHandle.

Gets a windows property by name

ParameterTypeDescription

hWnd

propName

Returns: SalNumber.

Retrieves the Windows style bits for a specified window.

ParameterTypeDescription

hWnd

Returns: SalNumber.

Obtains the text of a window.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

Returns: SalString.

Tests whether a specified window is a child or direct descendant of a parent window.

ParameterTypeDescription

parent

Child

Returns: SalBoolean.

Determines whether a window is maximized.

ParameterTypeDescription

hWnd

Returns: SalBoolean.

Determines whether the specified window is minimized (iconic).

ParameterTypeDescription

hWnd

Returns: SalBoolean.

Returns the first required field that is empty.

ParameterTypeDescription

parent

Returns: SalWindowHandle.

Determines whether the specified window is in the normal state.

ParameterTypeDescription

hWnd

Returns: SalBoolean.

Determines whether the specified window handle identifies an existing window.

ParameterTypeDescription

hWnd

Returns: SalBoolean.

Sets an accelerator keystroke for a window.

ParameterTypeDescription

target

message

keyState

keyCode

id

Returns: SalNumber.

Moves and resizes a window, based on pixel coordinates.

ParameterTypeDescription

hWnd

left

top

width

height

Returns: SalBoolean.

Removes windows property

ParameterTypeDescription

hWnd

propName

Returns: SalBoolean.

Set windows flags

ParameterTypeDescription

hWnd

winFlags

state

Returns: SalBoolean.

Sets the position of the meter.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

percent

Returns: SalNumber.

Set windows property

ParameterTypeDescription

hWnd

propName

propValue

Returns: SalBoolean.

Adds/Removes a window style to a window.

ParameterTypeDescription

hWnd

style

state

Returns: SalBoolean.

Changes the tab order of a control.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

ctrlAfter

Returns: SalBoolean.

Show window

ParameterTypeDescription

ctrl

Target control on which to execute the call.

showCmd

Returns: SalBoolean.

Last updated