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.

public class Vis

Fields

NameTypeDescription

ACTION_Abort

ACTION_Retry

Error action codes

CAL_AlternateButtons

*** Styles

CAL_EnableButtons

CAL_EnableKeyboard

CAL_EtchedLook

CAL_MultiSelect

CAL_SelectExtra

CAL_SelectSpecial

CAL_ShowExtra

CAL_ShowFocus

CAL_ShowGrid

CAL_ShowSpecial

CALN_DateChanged

CALN_DateFinished

CALN_ErrSpace

*** Notification messages

CALN_Scroll

CAPTION_ErrorHandler

COLOR_CAL_BackExtra

*** Color Roles

COLOR_CAL_BackLabel

COLOR_CAL_ForeDays

COLOR_CAL_ForeExtra

COLOR_CAL_ForeMonth

COLOR_PAL_BackColor

*** Color roles

COLOR_PAL_BackMenu

DAY_Friday

DAY_Monday

DAY_Saturday

DAY_Sunday

DAY_Thursday

DAY_Tuesday

DAY_Unset

*** Special Rule WeekDays

DAY_Wednesday

DBF_IncrementalTime

Debug flags

DBF_MessageBox

DBF_RealTime

DESKTOP_MyComputer

DESKTOP_NetworkNeighborhood

DESKTOP_Root

*** Desktop constants

DOS_BreakFlag

DOS_ErrorMode

DOS_VerifyFlag

DOS Flags

DRIVE_CDROM

DRIVE_Fixed

DRIVE_Floppy

Drive type flags

DRIVE_Network

DRIVE_RAM

DROP_Child

Drop Flags

DROP_Sibling

DT_Handle

Data Types

EM_SetReadOnly

Edit control messages

FA_Volume

File attribute flags

FILETYPE_Document

FILETYPE_Other

FILETYPE_Program

File types

FILETYPE_System

FONTTYPE_Device

Font Types

FONTTYPE_Raster

FONTTYPE_TrueType

hPicNull

General constants

ITEM_CanCollapse

ITEM_CanDemote

ITEM_CanExpand

ITEM_CanMoveDown

ITEM_CanMoveUp

ITEM_CanPromote

ITEM_IsDeleted

ITEM_IsDisabled

List Box Item Flags

ITEM_IsExpanded

ITEM_IsFocus

ITEM_IsFrame

ITEM_IsHidden

ITEM_IsParent

ITEM_IsSelected

KDS_Alt

KDS_AltCtrl

KDS_AltShift

KDS_Ctrl

KDS_None

Key Down States

KDS_Shift

KDS_ShiftAltCtrl

KDS_ShiftCtrl

KS_Down

Key state flags

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

List Box Extended styles

LVA_AlignLeft

LVA_AlignTop

LVA_Default

*** Arrange Codes (see cListView.Arrange())

LVA_SnapToGrid

LVCF_Fmt

*** Column Masks (see cListView.SetColumn())

LVCF_Text

LVCF_Width

LVCFMT_Center

LVCFMT_JustifyMask

LVCFMT_Left

*** Column Alignments (see cListView.AssignColumns())

LVCFMT_Right

LVFI_NearestXY

LVFI_Partial

LVFI_String

*** FindItem Flags (see cListView.FindItem())

LVFI_Wrap

LVHT_Above

LVHT_Below

LVHT_Nowhere

*** HitTest Flags (see cListView.HitTest())

LVHT_OnItem

LVHT_OnItemIcon

LVHT_OnItemLabel

LVHT_OnItemStateIcon

LVHT_ToLeft

LVHT_ToRight

LVIF_Image

LVIF_Param

LVIF_State

LVIF_Text

*** Item Masks (see cListView.SetItem())

LVIR_Bounds

*** ItemRect Codes (see cListView.GetItemRect())

LVIR_Icon

LVIR_Label

LVIR_SelectBounds

LVIS_Cut

LVIS_DropHilited

LVIS_Focused

*** Item States (see cListView.SetItemState())

LVIS_Selected

LVIS_StateImageMask

LVN_BeginDrag

LVN_BeginRDrag

LVN_ColumnClick

LVN_DeleteAllItems

LVN_DeleteItem

LVN_First

*** Notification Messages (sent to SAM_CustControlCmd handler)

LVN_InsertItem

LVN_ItemChanged

LVN_ItemChanging

LVNI_Above

LVNI_All

*** NextItem Flags (see cListView.GetNextItem())

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

*** Styles (see cListView.SetStyle())

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 Order Flags (see cListView.SetSortOrder())

LVSORT_Descending

MBF_IconAsterisk

MessageBox constants

MBF_IconError

MBF_IconExclamation

MBF_IconHand

MBF_IconInformation

MBF_IconQuestion

MBF_IconStop

MBF_IconWarning

MF_Check

MF_Disable

Menu flags

MF_Separator

NM_Click

NM_DoubleClick

NM_First

Generic Notification Messages

NM_KillFocus

NM_OutOfMemory

NM_Return

NM_RightClick

NM_RightDoubleClick

NM_SetFocus

ORIENT_SPLIT_Horizontal

ORIENT_SPLIT_Unset

*** Orientation values

ORIENT_SPLIT_Vertical

PAL_EnableMRUColors

*** Styles

PAL_NoHideSelects

PALETTE_Main

PALETTE_MRU

PALN_Changed

PALN_ErrSpace

*** Notification messages

PALN_Finished

PALN_Menu

PIC_LoadFile

PIC_LoadLargeIcon

PIC_LoadResource

PIC_LoadSmallIcon

PIC_LoadSWinRes

PIC_LoadSWinStr

Picture flags (see VisPicLoad())

PicDesktop

PicDriveCD

PicDriveFixed

PicDriveFloppy

PicDriveNetwork

PicDriveRemovable

PicFolderClosed

PicFolderOpen

PicMyComputer

PicNetworkNeighborhood

PicTTFont

REF_AutoHScroll

REF_AutoVScroll

REF_AutoWordSelection

Option Flags (duplicates of ECO_ constants from Microsoft's RICHEDIT.H)

REF_CFE_AutoColor

Character Format Flags (duplicates of CFE_ constants from Microsoft's RICHEDIT.H)

REF_CFE_Bold

REF_CFE_Italic

REF_CFE_Protected

REF_CFE_Strikeout

REF_CFE_Underline

REF_FT_MatchCase

Find Text Flags

REF_FT_WholeWord

REF_NoHideSel

REF_PFA_Center

REF_PFA_Left

Paragraph Format Alignment Flags (duplicates of PFA_ constants from Microsoft's RICHEDIT.H)

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

Selection Flags (duplicates of SEL_ constants from Microsoft's RICHEDIT.H)

REF_SEL_MultiChar

REF_SEL_MultiObject

REF_SEL_Object

REF_SEL_Text

REF_Vertical

REGION_Main

*** Misc. Constants

REGION_Menu

REGION_MRU

REN_Change

REN_ErrSpace

Message Types

REN_HScroll

REN_MaxText

REN_Protected

REN_RequestResize

REN_SelChange

REN_Update

REN_VScroll

ROW_UserFlag1

Row flags

ROW_UserFlag2

ROW_UserFlag3

ROW_UserFlag4

ROW_UserFlag5

SEEK_Begin

Seek origins

SEEK_Current

SEEK_End

SEQ_First

SEQ_Fourth

SEQ_Last

SEQ_Second

SEQ_Third

SEQ_Unset

*** Special Day Sequences

SHOW_AllLevels

Show All Levels

SHOW_Hidden

Show Window Flags

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

System metrics constants

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 Flags

SORT_Descending

SPECIAL_MonthlyDOM

SPECIAL_MonthlyDOW

SPECIAL_OneTime

SPECIAL_Unset

*** Special Rule Types

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

Virtual keycodes

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

Picture names (these pictures are in the VT DLL)

VT_EmbeddedResource

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

Error return values - these are remaps of values found in SDK's WINERROR.H

VTERR_PathNotFound

VTERR_ReadFault

VTERR_SharingViolation

VTERR_TooManyFiles

VTERR_WriteFault

VTERR_WriteProtected

VTM_Accelerator

VTM_Base

Messages

VTM_Char

VTM_Click

VTM_ControlCreate

VTM_Create

Remaps of WM_* messages

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

Messages

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

Wait cursor flags

WF_80x87

WF_CPU286

WF_CPU386

WF_CPU486

WF_DisplayOnly

WF_EnableWhenNotNull

WF_Enhanced

WF_FitPath

WF_NoClear

WF_NoClearEditFlag

WF_Paging

WF_PMode

Windows flags

WF_Required

Window Flags

WF_Standard

WF_WLO

Methods

Appends one array to the end of another array.

ParameterTypeDescription

hArySource

hAryTarget

nDataType

Returns: SalNumber.

Copies the source array to the target array.

ParameterTypeDescription

hArySource

hAryTarget

nDataType

Returns: SalNumber.

Deletes an item from an array.

ParameterTypeDescription

hArray

nIndex

nDataType

Returns: SalNumber.

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

ParameterTypeDescription

dtArray

dtValue

nCount

Returns: SalBoolean.

Fills a Date/Time array with the specified numeric value.

ParameterTypeDescription

nArray

nValue

nCount

Returns: SalBoolean.

Fills a Date/Time array with the specified string value.

ParameterTypeDescription

sArray

sValue

nCount

Returns: SalBoolean.

Locates a date/time value within an array.

ParameterTypeDescription

hArray

dtSearchFor

Returns: SalNumber.

Locates a numeric value within an array.

ParameterTypeDescription

hArray

nSearchFor

Returns: SalNumber.

Locates a numeric value within an array.

ParameterTypeDescription

hArray

bSearchFor

Returns: SalNumber.

Locates a string value within an array.

ParameterTypeDescription

hArray

sSearchFor

Returns: SalNumber.

nNumItems VisArrayInsertItem( hArray, nIndex, nDataType )

ParameterTypeDescription

hArray

nIndex

nDataType

Returns: SalNumber.

nNumItems VisArraySort( hArray, nSortOrder, nDataType )

ParameterTypeDescription

hArray

nSortOrder

nDataType

Returns: SalNumber.

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

ParameterTypeDescription

sModuleName

sFileName

Returns: SalString.

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

ParameterTypeDescription

sDirSpec

sDirs

dtDateTimes

nAttributes

Returns: SalNumber.

Enumerates all the directories using the specified wild card.

ParameterTypeDescription

sDirSpec

sDirs

Returns: SalNumber.

Enumerates all the logical drives.

ParameterTypeDescription

sDrives

Returns: SalNumber.

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

ParameterTypeDescription

sFileSpec

nAttribute

sFiles

nSizes

dtDateTimes

nAttributes

Returns: SalNumber.

Enumerates all the files using the specified wildcard.

ParameterTypeDescription

sFileSpec

nAttributes

sFiles

Returns: SalNumber.

Enumerates all the network connections.

ParameterTypeDescription

sDevices

sNetNames

Returns: SalNumber.

Enumerates all the paths in the PATH environment variable.

ParameterTypeDescription

sDirs

Returns: SalNumber.

Checks if the specified directory exists.

ParameterTypeDescription

sFileSpec

Returns: SalBoolean.

Returns the current directory.

ParameterTypeDescription

sDrive

Returns: SalString.

ParameterTypeDescription

sDrive

nTotalSpace

nFreeSpace

Returns: SalNumber.

Returns the type of the specified drive.

ParameterTypeDescription

sDrive

Returns: SalNumber.

sEnvString VisDosGetEnvString (sKeyName)

ParameterTypeDescription

sKeyName

Returns: SalString.

Returns: SalNumber.

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

ParameterTypeDescription

sDevice

Returns: SalString.

bVersionNumber VisDosGetVersion( )

Returns: SalNumber.

Returns the volume label of the specified drive.

ParameterTypeDescription

sDrive

Returns: SalString.

bOk VisDosIsParent (sDirSpec)

ParameterTypeDescription

sDirSpec

Returns: SalBoolean.

nErrCode VisDosMakeAllDir( sDir )

ParameterTypeDescription

sDir

Returns: SalNumber.

sFileSpec VisDosMakePath (sDrive, sDir, sBase, sExt)

ParameterTypeDescription

sDrive

sDir

sBase

sExt

Returns: SalString.

Makes a connection to a network resource.

ParameterTypeDescription

sDevice

sNetName

sPassword

Returns: SalNumber.

nErrCode VisDosNetDisconnect( sDevice, bForce )

ParameterTypeDescription

sDevice

bForce

Returns: SalNumber.

ParameterTypeDescription

nFlags

bState

Returns: SalNumber.

Sets the label of a file system volume.

ParameterTypeDescription

sDrive

sLabel

Returns: SalNumber.

ParameterTypeDescription

sFileSpec

sDrive

sDir

sBase

sExt

Returns: SalNumber.

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

ParameterTypeDescription

sCaption

Returns: SalNumber.

File functions nErrCode VisFileAppend( sSourceFile, sTargetFile )

ParameterTypeDescription

sSourceFile

sTargetFile

Returns: SalNumber.

nErrCode VisFileClose( hFile )

ParameterTypeDescription

hFile

Returns: SalNumber.

nErrCode VisFileCopy( sSourceFile, sTargetFile )

ParameterTypeDescription

sSourceFile

sTargetFile

Returns: SalNumber.

sTempName VisDosGetTempFileName( sPrefix )

ParameterTypeDescription

sPrefix

Returns: SalString.

nNumDeleted VisFileDelete( sFileName )

ParameterTypeDescription

sFileName

Returns: SalNumber.

ParameterTypeDescription

sSourceFile

sTargetFile

Returns: SalNumber.

SalString VisFileFind (sFileName)

ParameterTypeDescription

sFileName

Returns: SalString.

nAttribute VisFileGetAttribute( sFileName )

ParameterTypeDescription

sFileName

Returns: SalNumber.

nFileSize VisFileGetSize( sFileName )

ParameterTypeDescription

sFileName

Returns: SalNumber.

nFileType VisFileGetType( sFileName )

ParameterTypeDescription

sFileName

Returns: SalNumber.

ParameterTypeDescription

hFile

sFileName

nFlags

Returns: SalNumber.

ParameterTypeDescription

hFile

sBuffer

nSize

Returns: SalNumber.

ParameterTypeDescription

hFile

sLine

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

sSourceFile

sTargetFile

Returns: SalNumber.

nErrCode VisFileSeek( hFile, nOffset, nOrigin )

ParameterTypeDescription

hFile

nOffset

nOrigin

Returns: SalNumber.

nErrCode VisFileSetAttribute( sFileName, nAttributes, bState )

ParameterTypeDescription

sFileName

nAttributes

bState

Returns: SalNumber.

nErrCode VisFileSetDateTime( sFileName, dtDateTime )

ParameterTypeDescription

sFileName

dtDateTime

Returns: SalNumber.

nOffset VisFileTell( hFile )

ParameterTypeDescription

hFile

Returns: SalNumber.

nErrCode VisFileWrite( hFile, sBuffer, nSize )

ParameterTypeDescription

hFile

sBuffer

nSize

Returns: SalNumber.

nErrCode VisFileWriteString( hFile, sLine )

ParameterTypeDescription

hFile

sLine

Returns: SalNumber.

Enumerates all the installed fonts.

ParameterTypeDescription

nType

sNames

nTypes

Returns: SalNumber.

Release the font handle.

ParameterTypeDescription

hFont

Returns: SalBoolean.

ParameterTypeDescription

hFont

sFaceName

nPointSize

nFontFlags

Returns: SalBoolean.

Loads the specified font.

ParameterTypeDescription

sFaceName

nPointSize

nEnhFlags

Returns: SalNumber.

Retrieves the current directory of a common dialog listbox or combobox.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

nIndex

Returns: SalString.

Retrieves a copyright string.

Returns: SalString.

Retrieves the state of a specified key.

ParameterTypeDescription

virtKey

Virtual key code to check.

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.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

sText

nColor

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.

sText

nColor

nValue

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.

sText

hFont

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.

sText

hFont

nValue

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.

sText

hPicNormal

hPicSelected

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.

sText

hPicNormal

hPicSelected

nValue

Returns: SalNumber.

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

ParameterTypeDescription

ctrl

sText

nValue

Returns: SalNumber.

Populates a list box from a string array.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

sTexts

Returns: SalNumber.

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

ParameterTypeDescription

ctrl

Target control on which to execute the call.

sTexts

nValues

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.

nIndex

Returns: SalBoolean.

Deletes the child item from the tree control.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

nIndex

Returns: SalNumber.

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

ParameterTypeDescription

ctrl

Target control on which to execute the call.

nIndex

Returns: SalNumber.

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

ParameterTypeDescription

ctrl

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.

nIndex

hPicNormal

hPicSelect

Returns: SalBoolean.

ParameterTypeDescription

ctrl

nIndex

nColor

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.

nIndex

nColor

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.

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

nStartIndex

sText

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.

nStartIndex

nValue

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.

nIndex

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.

nIndex

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

Returns: SalNumber.

Returns the current font of the list control item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

nIndex

Returns: SalNumber.

Retrieves the color associated with an outline item.

ParameterTypeDescription

item

Returns: SalNumber.

ParameterTypeDescription

item

sText

nValue

nItemFlags

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

hPicNormal

hPicSelect

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

nIndex

hPicNormal

hPicSelected

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.

nIndex

Returns: SalString.

Returns the value associated to the list item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

nIndex

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.

nIndex

sText

nColor

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.

nIndex

sText

nColor

nValue

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.

nIndex

sText

hFont

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.

nIndex

sText

hFont

nValue

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.

nIndex

sText

hPicNormal

hPicSelected

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.

nIndex

sText

hPicNormal

hPicSelected

nValue

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.

nIndex

sText

nValue

Returns: SalNumber.

Returns true if the listbox is multiselect.

ParameterTypeDescription

ctrl

Returns: SalBoolean.

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

ParameterTypeDescription

ctrl

Target control on which to execute the call.

hItemParent

hPicNormal

hPicSelect

sText

nValue

nItemFlags

Returns: SalNumber.

hItem VisListLoadChildren( hWnd, hItemParent, hPicNormal, hPicSelect, sText[], nValue[], nItemFlags[*] )

ParameterTypeDescription

ctrl

hItemParent

hPicNormal

hPicSelected

sTexts

nValues

nItemFlags

Returns: SalNumber.

hItem VisListLoadOutline( hWnd, sBlob )

ParameterTypeDescription

ctrl

Target control on which to execute the call.

sBlob

Returns: SalNumber.

hItem VisListLoadOutlineFile( hWnd, sFileName, hPicParentNormal, hPicParentSelect, hPicChildNormal, hPicChildSelect )

ParameterTypeDescription

ctrl

Target control on which to execute the call.

sFileName

hPicParentNormal

hPicParentSelect

hPicChildNormal

hPicChildSelect

Returns: SalNumber.

hItem VisListLoadSibling( hWnd, hItemBefore, hPicNormal, hPicSelect, sText, nValue, nItemFlags )

ParameterTypeDescription

ctrl

Target control on which to execute the call.

hItemBefore

hPicNormal

hPicSelect

sText

nValue

nItemFlags

Returns: SalNumber.

bOk VisListMoveDown( hWnd, nIndex )

ParameterTypeDescription

ctrl

Target control on which to execute the call.

nIndex

Returns: SalBoolean.

bOk VisListMoveUp( hWnd, nIndex )

ParameterTypeDescription

ctrl

nIndex

Returns: SalBoolean.

bOk VisListPromote( hWnd, nIndex, hpicNormal, hpicSelect )

ParameterTypeDescription

ctrl

Target control on which to execute the call.

nIndex

hPicNormal

hPicSelect

Returns: SalBoolean.

ParameterTypeDescription

ctrl

sBlob

Returns: SalNumber.

Scrolls an item into view.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

nIndex

Returns: SalNumber.

Sets the color of a list item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

nIndex

nColor

Returns: SalBoolean.

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

ParameterTypeDescription

ctrl

Target control on which to execute the call.

bState

Returns: SalBoolean.

Sets the ITEM_* flags for the specified list item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

nIndex

nItemFlags

bState

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.

nIndex

Returns: SalNumber.

Sets the font of the list control item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

nIndex

hFont

Returns: SalBoolean.

Sets the color of the outline item.

ParameterTypeDescription

item

nColor

Returns: SalBoolean.

Updates the specified item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

item

sText

nValue

nItemFlags

Returns: SalNumber.

bOk VisListSetItemFlags( item, nItemFlags, bState )

ParameterTypeDescription

item

nItemFlags

bState

Returns: SalBoolean.

Sets the font of the outline item.

ParameterTypeDescription

item

hFont

Returns: SalBoolean.

Sets the picture of a list item

ParameterTypeDescription

item

hPicNormal

hPicSelect

Returns: SalBoolean.

Sets the text of the outline item.

ParameterTypeDescription

item

sText

Returns: SalBoolean.

Sets the value associated to the outline item.

ParameterTypeDescription

item

nValue

Returns: SalBoolean.

bOk VisListSetOutlineRedraw

ParameterTypeDescription

ctrl

bRedraw

Returns: SalBoolean.

Changes the normal and selected images for the specified item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

nIndex

hPicNormal

hPicSelected

Returns: SalBoolean.

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

ParameterTypeDescription

ctrl

Target control on which to execute the call.

nIndex

Returns: SalNumber.

Sets the LBS_* style of the specified control.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

nStyle

lParam

Returns: SalBoolean.

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

ParameterTypeDescription

ctrl

Target control on which to execute the call.

nIndex

sText

Returns: SalNumber.

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

ParameterTypeDescription

ctrl

Target control on which to execute the call.

nIndex

nValue

Returns: SalNumber.

Expands list items up to the specified level.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

nLevel

Returns: SalBoolean.

Checks the menu.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

hMenu

nPos

Returns: SalBoolean.

Removes the menu at the requested position.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

hMenu

nPos

Returns: SalBoolean.

Disables the menu.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

hMenu

nPos

Returns: SalBoolean.

Enables the menu.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

hMenu

nPos

Returns: SalBoolean.

Returns the number of items in the specified menu.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

hMenu

Returns: SalNumber.

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

ParameterTypeDescription

ctrl

Returns: SalNumber.

Retrieves the menu handle of a pop-up menu.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

hMenu

nPos

Returns: SalNumber.

ParameterTypeDescription

hWnd

Returns: SalNumber.

Retrieves the text of a menu item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

hMenu

nPos

Returns: SalString.

Inserts a menu item into a menu.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

hMenu

nPos

sText

nFlags

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.

hMenu

nPos

hFont

sText

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.

hMenu

nPos

hPicNormal

hPicSelected

sText

Returns: SalNumber.

Returns true if the menu is checked.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

hMenu

nPos

Returns: SalBoolean.

Returns true if the menu is enabled.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

hMenu

nPos

Returns: SalBoolean.

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

ParameterTypeDescription

ctrl

Target control on which to execute the call.

hMenu

nPos

hFont

sText

Returns: SalBoolean.

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

ParameterTypeDescription

ctrl

Target control on which to execute the call.

hMenu

nPos

hPicNormal

hPicSelected

sText

Returns: SalBoolean.

Changes the text of a menu item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

hMenu

nPos

sText

Returns: SalBoolean.

Unchecks a menu item.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

hMenu

nPos

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

hBtn

Handle of the MessageBox button to free.

Returns: SalBoolean.

Creates a button to be used in the MessageBox.

ParameterTypeDescription

sLabel

Text of the MessageBox button.

nReturn

ID of the MessageBox button returned by MessageBox.

Returns: SalNumber.

ParameterTypeDescription

nValue

nBitMask

Returns: SalNumber.

ParameterTypeDescription

nValue

nBitMask

Returns: SalNumber.

nReturn VisNumberChoose( bExpression, nTrue, nFalse )

ParameterTypeDescription

bExpression

nTrue

nFalse

Returns: SalNumber.

nHighByte VisNumberHighByte( nNumber )

ParameterTypeDescription

nNumber

Returns: SalNumber.

nLowByte VisNumberLowByte( nNumber )

ParameterTypeDescription

nNumber

Returns: SalNumber.

nLong VisNumberMakeLong( nLowWord, nHighWord )

ParameterTypeDescription

nLowWord

nHighWord

Returns: SalNumber.

Removes a picture and frees it's memory.

ParameterTypeDescription

hPic

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 listbox or combobox.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

sDirectory

Returns: SalNumber.

Populates the tree control with the specified directories.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

sDirectory

Returns: SalNumber.

Adds all available drives to a listbox or combobox.

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.

nType

Returns: SalNumber.

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

ParameterTypeDescription

sFileName

sSection

sEntry

Returns: SalBoolean.

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

ParameterTypeDescription

sFileName

sSection

sStrings

Returns: SalNumber.

Changes the current directory of a common dialog listbox or combobox.

ParameterTypeDescription

ctrl

Target control on which to execute the call.

nIndex

Returns: SalString.

sReturn VisStrChoose( bExpression, sTrue, sFalse )

ParameterTypeDescription

bExpression

sTrue

sFalse

Returns: SalString.

sReturn VisStrExpand( sTemplate, hArray )

ParameterTypeDescription

sTemplate

hArray

Returns: SalString.

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

ParameterTypeDescription

hTable

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

sKey

The key to look up in the string table

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

bOk VisStrFreeTable( hTable )

ParameterTypeDescription

hTable

Returns: SalBoolean.

sReturn VisStrLeftTrim( sSource )

ParameterTypeDescription

sSource

Returns: SalString.

VisStrLoadTable loads the lines from a text file and returns a handle to it.

ParameterTypeDescription

sFilename

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

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

sReturn VisStrPad( sSource, nSize )

ParameterTypeDescription

sSource

nSize

Returns: SalString.

sReturn VisStrProper( sSource )

ParameterTypeDescription

sSource

Returns: SalString.

sReturn VisStrRightTrim( sSource )

ParameterTypeDescription

sSource

Returns: SalString.

nPos VisStrScanReverse( sSource, nPos, sSearch )

ParameterTypeDescription

sSource

nPos

sSearch

Returns: SalNumber.

sReturn VisStrSubstitute( sSource, sSearch, sReplace )

ParameterTypeDescription

sSource

sSearch

sReplace

Returns: SalString.

sReturn VisStrTrim( sSource )

ParameterTypeDescription

sSource

Returns: SalString.

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

ParameterTypeDescription

table

nFlagsOn

nFlagsOff

Returns: SalBoolean.

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

ParameterTypeDescription

table

column

Returns: SalBoolean.

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

nRow

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

nRow

nColor

Returns: SalBoolean.

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

ParameterTypeDescription

table

The table window control to assign the custom image to.

rowFlags

Row flags that enable the specified image.

handle

The image handle to assign to the combination of row flags.

Returns: SalBoolean.

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

ParameterTypeDescription

table

The table window control to assign the custom image to.

rowFlags

Row flags that enable the specified image.

image

The image to assign to the combination of row flags.

Returns: SalBoolean.

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

ParameterTypeDescription

table

The table window control to assign the custom image to.

rowFlags

Row flags that enable the specified image.

imageSource

The image source to assign to the combination of row flags.

Returns: SalBoolean.

Turns hourglass cursor on or off.

ParameterTypeDescription

nFlags

Returns: SalNumber.

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

ParameterTypeDescription

parent

Returns: SalNumber.

nNumCleared VisWinClearAllFields( hWndParent )

ParameterTypeDescription

parent

Returns: SalNumber.

Removes the accelerator.

ParameterTypeDescription

hAccel

Returns: SalBoolean.

Gets windows flags

ParameterTypeDescription

hWnd

Returns: SalNumber.

Obtains the control of the requested type and text.

ParameterTypeDescription

ctrl

sText

nType

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

hWndParent

hWndChild

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

nMessage

nKeyState

nKey

nID

Returns: SalNumber.

Moves and resizes a window, based on pixel coordinates.

ParameterTypeDescription

hWnd

nLeft

nTop

nWidht

nHeight

Returns: SalBoolean.

Set windows flags

ParameterTypeDescription

hWnd

winFlags

state

Returns: SalBoolean.

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.

bOk VisWinShow( hWnd, nShowCmd )

ParameterTypeDescription

ctrl

nShowCmd

Returns: SalBoolean.

Last updated