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
Name | Type | Description |
---|---|---|
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.
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.
Parameter | Type | Description |
---|---|---|
dtArray | ||
dtValue | ||
nCount |
Returns: SalBoolean.
Fills a Date/Time array with the specified numeric value.
Parameter | Type | Description |
---|---|---|
nArray | ||
nValue | ||
nCount |
Returns: SalBoolean.
Fills a Date/Time array with the specified string value.
Parameter | Type | Description |
---|---|---|
sArray | ||
sValue | ||
nCount |
Returns: SalBoolean.
Locates a date/time value within an array.
Parameter | Type | Description |
---|---|---|
hArray | ||
dtSearchFor |
Returns: SalNumber.
Locates a numeric value within an array.
Parameter | Type | Description |
---|---|---|
hArray | ||
nSearchFor |
Returns: SalNumber.
Locates a numeric value within an array.
Parameter | Type | Description |
---|---|---|
hArray | ||
bSearchFor |
Returns: SalNumber.
Locates a string value within an array.
Parameter | Type | Description |
---|---|---|
hArray | ||
sSearchFor |
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.
Parameter | Type | Description |
---|---|---|
sDirSpec | ||
sDirs | ||
dtDateTimes | ||
nAttributes |
Returns: SalNumber.
Enumerates all the directories using the specified wild card.
Parameter | Type | Description |
---|---|---|
sDirSpec | ||
sDirs |
Returns: SalNumber.
Enumerates all the logical drives.
Parameter | Type | Description |
---|---|---|
sDrives |
Returns: SalNumber.
Returns information for the files selected using the specified wild card.
Parameter | Type | Description |
---|---|---|
sFileSpec | ||
nAttribute | ||
sFiles | ||
nSizes | ||
dtDateTimes | ||
nAttributes |
Returns: SalNumber.
Enumerates all the files using the specified wildcard.
Parameter | Type | Description |
---|---|---|
sFileSpec | ||
nAttributes | ||
sFiles |
Returns: SalNumber.
Enumerates all the network connections.
Parameter | Type | Description |
---|---|---|
sDevices | ||
sNetNames |
Returns: SalNumber.
Enumerates all the paths in the PATH environment variable.
Parameter | Type | Description |
---|---|---|
sDirs |
Returns: SalNumber.
Checks if the specified directory exists.
Parameter | Type | Description |
---|---|---|
sFileSpec |
Returns: SalBoolean.
Returns the current directory.
Parameter | Type | Description |
---|---|---|
sDrive |
Returns: SalString.
Parameter | Type | Description |
---|---|---|
sDrive | ||
nTotalSpace | ||
nFreeSpace |
Returns: SalNumber.
Returns the type of the specified drive.
Parameter | Type | Description |
---|---|---|
sDrive |
Returns: SalNumber.
sEnvString VisDosGetEnvString (sKeyName)
Parameter | Type | Description |
---|---|---|
sKeyName |
Returns: SalString.
Returns: SalNumber.
Retrieves the name of the network resource associated with a local device.
Parameter | Type | Description |
---|---|---|
sDevice |
Returns: SalString.
bVersionNumber VisDosGetVersion( )
Returns: SalNumber.
Returns the volume label of the specified drive.
Parameter | Type | Description |
---|---|---|
sDrive |
Returns: SalString.
bOk VisDosIsParent (sDirSpec)
Parameter | Type | Description |
---|---|---|
sDirSpec |
Returns: SalBoolean.
nErrCode VisDosMakeAllDir( sDir )
Parameter | Type | Description |
---|---|---|
sDir |
Returns: SalNumber.
sFileSpec VisDosMakePath (sDrive, sDir, sBase, sExt)
Returns: SalString.
Makes a connection to a network resource.
Returns: SalNumber.
nErrCode VisDosNetDisconnect( sDevice, bForce )
Parameter | Type | Description |
---|---|---|
sDevice | ||
bForce |
Returns: SalNumber.
Parameter | Type | Description |
---|---|---|
nFlags | ||
bState |
Returns: SalNumber.
Sets the label of a file system volume.
Returns: SalNumber.
Parameter | Type | Description |
---|---|---|
sFileSpec | ||
sDrive | ||
sDir | ||
sBase | ||
sExt |
Returns: SalNumber.
Displays an error message and allows user to retry the operation or halt the application.
Parameter | Type | Description |
---|---|---|
sCaption |
Returns: SalNumber.
File functions nErrCode VisFileAppend( sSourceFile, sTargetFile )
Returns: SalNumber.
nErrCode VisFileClose( hFile )
Parameter | Type | Description |
---|---|---|
hFile |
Returns: SalNumber.
nErrCode VisFileCopy( sSourceFile, sTargetFile )
Returns: SalNumber.
sTempName VisDosGetTempFileName( sPrefix )
Parameter | Type | Description |
---|---|---|
sPrefix |
Returns: SalString.
nNumDeleted VisFileDelete( sFileName )
Parameter | Type | Description |
---|---|---|
sFileName |
Returns: SalNumber.
Returns: SalNumber.
SalString VisFileFind (sFileName)
Parameter | Type | Description |
---|---|---|
sFileName |
Returns: SalString.
nAttribute VisFileGetAttribute( sFileName )
Parameter | Type | Description |
---|---|---|
sFileName |
Returns: SalNumber.
nFileSize VisFileGetSize( sFileName )
Parameter | Type | Description |
---|---|---|
sFileName |
Returns: SalNumber.
nFileType VisFileGetType( sFileName )
Parameter | Type | Description |
---|---|---|
sFileName |
Returns: SalNumber.
Parameter | Type | Description |
---|---|---|
hFile | ||
sFileName | ||
nFlags |
Returns: SalNumber.
Parameter | Type | Description |
---|---|---|
hFile | ||
sBuffer | ||
nSize |
Returns: SalNumber.
Parameter | Type | Description |
---|---|---|
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.
Returns: SalNumber.
nErrCode VisFileSeek( hFile, nOffset, nOrigin )
Parameter | Type | Description |
---|---|---|
hFile | ||
nOffset | ||
nOrigin |
Returns: SalNumber.
nErrCode VisFileSetAttribute( sFileName, nAttributes, bState )
Parameter | Type | Description |
---|---|---|
sFileName | ||
nAttributes | ||
bState |
Returns: SalNumber.
nErrCode VisFileSetDateTime( sFileName, dtDateTime )
Parameter | Type | Description |
---|---|---|
sFileName | ||
dtDateTime |
Returns: SalNumber.
nOffset VisFileTell( hFile )
Parameter | Type | Description |
---|---|---|
hFile |
Returns: SalNumber.
nErrCode VisFileWrite( hFile, sBuffer, nSize )
Parameter | Type | Description |
---|---|---|
hFile | ||
sBuffer | ||
nSize |
Returns: SalNumber.
nErrCode VisFileWriteString( hFile, sLine )
Parameter | Type | Description |
---|---|---|
hFile | ||
sLine |
Returns: SalNumber.
Enumerates all the installed fonts.
Parameter | Type | Description |
---|---|---|
nType | ||
sNames | ||
nTypes |
Returns: SalNumber.
Release the font handle.
Parameter | Type | Description |
---|---|---|
hFont |
Returns: SalBoolean.
Parameter | Type | Description |
---|---|---|
hFont | ||
sFaceName | ||
nPointSize | ||
nFontFlags |
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.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
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.
Returns: SalNumber.
Populates a list box from a string array.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
sTexts |
Returns: SalNumber.
Populates a list box from a string and a value array.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
sTexts | ||
nValues |
Returns: SalNumber.
Unselects all selected items in a list box or combo box.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. |
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.
Parameter | Type | Description |
---|---|---|
ctrl |
Returns: SalNumber.
Moves an item and all descendants of the item right in the outline.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
nIndex | ||
hPicNormal | ||
hPicSelect |
Returns: SalBoolean.
Returns: SalNumber.
Implements drag and drop
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
sourceIndex | ||
targetCtrl | ||
targetIndex | ||
dropFlags |
Returns: SalBoolean.
Enables the specified item and sets the specified color.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
nIndex | ||
nColor |
Returns: SalNumber.
Enumerates child item handles for a specified item.
Parameter | Type | Description |
---|---|---|
item | ||
items |
Returns: SalNumber.
Enumerates descendant (children, grandchildren, and so on) item handles for a specified item.
Parameter | Type | Description |
---|---|---|
item | ||
items |
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.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
nStartIndex | ||
nValue |
Returns: SalNumber.
Frees memory for the item specified and for all its descendants.
Parameter | Type | Description |
---|---|---|
item |
Returns: SalBoolean.
Frees memory for all descendants of the item specified.
Parameter | Type | Description |
---|---|---|
item |
Returns: SalBoolean.
Returns the current color of the list item.
Returns: SalNumber.
Determines whether the list box portion of a combo box is visible.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. |
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.
Parameter | Type | Description |
---|---|---|
ctrl |
Returns: SalNumber.
Returns the current font of the list control item.
Returns: SalNumber.
Retrieves the color associated with an outline item.
Parameter | Type | Description |
---|---|---|
item |
Returns: SalNumber.
Parameter | Type | Description |
---|---|---|
item | ||
sText | ||
nValue | ||
nItemFlags |
Returns: SalBoolean.
Gets item flags
Parameter | Type | Description |
---|---|---|
item |
Returns: SalNumber.
Retrieves the font associated with an outline item.
Parameter | Type | Description |
---|---|---|
item |
Returns: SalNumber.
Retrieves the item handle based on an index specified.
Returns: SalNumber.
Returns the index of the specified outline item.
Parameter | Type | Description |
---|---|---|
item |
Returns: SalNumber.
Parameter | Type | Description |
---|---|---|
item | ||
hPicNormal | ||
hPicSelect |
Returns: SalBoolean.
Returns the text for the outline item.
Parameter | Type | Description |
---|---|---|
item |
Returns: SalString.
Returns the value saved with the outline item.
Parameter | Type | Description |
---|---|---|
item |
Returns: SalNumber.
Returns the level number for an outline item.
Parameter | Type | Description |
---|---|---|
item |
Returns: SalNumber.
Retrieves the item handle for the next sibling of the specified item.
Parameter | Type | Description |
---|---|---|
item |
Returns: SalNumber.
Retrieves the item handle for the parent of the specified item.
Parameter | Type | Description |
---|---|---|
item |
Returns: SalNumber.
Parameter | Type | Description |
---|---|---|
ctrl | ||
nIndex | ||
hPicNormal | ||
hPicSelected |
Returns: SalNumber.
Retrieves the item handle for the previous sibling of the specified item.
Parameter | Type | Description |
---|---|---|
item |
Returns: SalNumber.
Returns the handle for the root node.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. |
Returns: SalNumber.
Returns the LBS_* style for the specified control.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. |
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.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
nIndex | ||
sText | ||
nValue |
Returns: SalNumber.
Returns true if the listbox is multiselect.
Parameter | Type | Description |
---|---|---|
ctrl |
Returns: SalBoolean.
Inserts an item as the last child of the specified parent.
Parameter | Type | Description |
---|---|---|
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[*] )
Parameter | Type | Description |
---|---|---|
ctrl | ||
hItemParent | ||
hPicNormal | ||
hPicSelected | ||
sTexts | ||
nValues | ||
nItemFlags |
Returns: SalNumber.
hItem VisListLoadOutline( hWnd, sBlob )
Returns: SalNumber.
hItem VisListLoadOutlineFile( hWnd, sFileName, hPicParentNormal, hPicParentSelect, hPicChildNormal, hPicChildSelect )
Parameter | Type | Description |
---|---|---|
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 )
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
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 )
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
nIndex | ||
hPicNormal | ||
hPicSelect |
Returns: SalBoolean.
Parameter | Type | Description |
---|---|---|
ctrl | ||
sBlob |
Returns: SalNumber.
Scrolls an item into view.
Returns: SalNumber.
Sets the color of a list item.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
nIndex | ||
nColor |
Returns: SalBoolean.
Shows or hides the list box portion of a combo box.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
bState |
Returns: SalBoolean.
Sets the ITEM_* flags for the specified list item.
Parameter | Type | Description |
---|---|---|
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.
Returns: SalNumber.
Sets the font of the list control item.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
nIndex | ||
hFont |
Returns: SalBoolean.
Sets the color of the outline item.
Returns: SalBoolean.
Updates the specified item.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
item | ||
sText | ||
nValue | ||
nItemFlags |
Returns: SalNumber.
bOk VisListSetItemFlags( item, nItemFlags, bState )
Parameter | Type | Description |
---|---|---|
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
Parameter | Type | Description |
---|---|---|
ctrl | ||
bRedraw |
Returns: SalBoolean.
Changes the normal and selected images for the specified item.
Parameter | Type | Description |
---|---|---|
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.
Returns: SalNumber.
Sets the LBS_* style of the specified control.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
nStyle | ||
lParam |
Returns: SalBoolean.
Changes the text of the list item at the specified index.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
nIndex | ||
sText |
Returns: SalNumber.
Changes the value of the list item at the specified index.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
nIndex | ||
nValue |
Returns: SalNumber.
Expands list items up to the specified level.
Returns: SalBoolean.
Checks the menu.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
hMenu | ||
nPos |
Returns: SalBoolean.
Removes the menu at the requested position.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
hMenu | ||
nPos |
Returns: SalBoolean.
Disables the menu.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
hMenu | ||
nPos |
Returns: SalBoolean.
Enables the menu.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
hMenu | ||
nPos |
Returns: SalBoolean.
Returns the number of items in the specified menu.
Returns: SalNumber.
Returns the handle of the main menu of the specified form.
Parameter | Type | Description |
---|---|---|
ctrl |
Returns: SalNumber.
Retrieves the menu handle of a pop-up menu.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
hMenu | ||
nPos |
Returns: SalNumber.
Parameter | Type | Description |
---|---|---|
hWnd |
Returns: SalNumber.
Retrieves the text of a menu item.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
hMenu | ||
nPos |
Returns: SalString.
Inserts a menu item into a menu.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
hMenu | ||
nPos | ||
hPicNormal | ||
hPicSelected | ||
sText |
Returns: SalNumber.
Returns true if the menu is checked.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
hMenu | ||
nPos |
Returns: SalBoolean.
Returns true if the menu is enabled.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
hMenu | ||
nPos |
Returns: SalBoolean.
Changes the font of a menu item created using the PPJ.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
hMenu | ||
nPos | ||
hPicNormal | ||
hPicSelected | ||
sText |
Returns: SalBoolean.
Changes the text of a menu item.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
hMenu | ||
nPos | ||
sText |
Returns: SalBoolean.
Unchecks a menu item.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. | |
hMenu | ||
nPos |
Returns: SalBoolean.
Displays a message box with user defined buttons.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
hBtn | Handle of the MessageBox button to free. |
Returns: SalBoolean.
Creates a button to be used in the MessageBox.
Parameter | Type | Description |
---|---|---|
sLabel | Text of the MessageBox button. | |
nReturn | ID of the MessageBox button returned by MessageBox. |
Returns: SalNumber.
Parameter | Type | Description |
---|---|---|
nValue | ||
nBitMask |
Returns: SalNumber.
Parameter | Type | Description |
---|---|---|
nValue | ||
nBitMask |
Returns: SalNumber.
nReturn VisNumberChoose( bExpression, nTrue, nFalse )
Parameter | Type | Description |
---|---|---|
bExpression | ||
nTrue | ||
nFalse |
Returns: SalNumber.
nHighByte VisNumberHighByte( nNumber )
Parameter | Type | Description |
---|---|---|
nNumber |
Returns: SalNumber.
nLowByte VisNumberLowByte( nNumber )
Parameter | Type | Description |
---|---|---|
nNumber |
Returns: SalNumber.
nLong VisNumberMakeLong( nLowWord, nHighWord )
Returns: SalNumber.
Removes a picture and frees it's memory.
Parameter | Type | Description |
---|---|---|
hPic |
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.
Parameter | Type | Description |
---|---|---|
ctrl | Target control on which to execute the call. |
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.
Parameter | Type | Description |
---|---|---|
sFileName | ||
sSection | ||
sStrings |
Returns: SalNumber.
Changes the current directory of a common dialog listbox or combobox.
Returns: SalString.
sReturn VisStrChoose( bExpression, sTrue, sFalse )
Parameter | Type | Description |
---|---|---|
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
Parameter | Type | Description |
---|---|---|
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 )
Parameter | Type | Description |
---|---|---|
hTable |
Returns: SalBoolean.
sReturn VisStrLeftTrim( sSource )
Parameter | Type | Description |
---|---|---|
sSource |
Returns: SalString.
VisStrLoadTable loads the lines from a text file and returns a handle to it.
Parameter | Type | Description |
---|---|---|
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:
sReturn VisStrPad( sSource, nSize )
Returns: SalString.
sReturn VisStrProper( sSource )
Parameter | Type | Description |
---|---|---|
sSource |
Returns: SalString.
sReturn VisStrRightTrim( sSource )
Parameter | Type | Description |
---|---|---|
sSource |
Returns: SalString.
nPos VisStrScanReverse( sSource, nPos, sSearch )
Returns: SalNumber.
sReturn VisStrSubstitute( sSource, sSearch, sReplace )
Returns: SalString.
sReturn VisStrTrim( sSource )
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
table |
Returns: SalBoolean.
Finds a DateTime in the table control.
Parameter | Type | Description |
---|---|---|
table | ||
row | ||
column | ||
date |
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.
Parameter | Type | Description |
---|---|---|
column |
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.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
nFlags |
Returns: SalNumber.
Clears the field edit flags for each data field or multi-line text field of a parent window.
Parameter | Type | Description |
---|---|---|
parent |
Returns: SalNumber.
nNumCleared VisWinClearAllFields( hWndParent )
Parameter | Type | Description |
---|---|---|
parent |
Returns: SalNumber.
Removes the accelerator.
Parameter | Type | Description |
---|---|---|
hAccel |
Returns: SalBoolean.
Gets windows flags
Parameter | Type | Description |
---|---|---|
hWnd |
Returns: SalNumber.
Obtains the control of the requested type and text.
Returns: SalWindowHandle.
Gets a windows property by name
Parameter | Type | Description |
---|---|---|
hWnd | ||
propName |
Returns: SalNumber.
Retrieves the Windows style bits for a specified window.
Parameter | Type | Description |
---|---|---|
hWnd |
Returns: SalNumber.
Obtains the text of a window.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
hWndParent | ||
hWndChild |
Returns: SalBoolean.
Determines whether a window is maximized.
Parameter | Type | Description |
---|---|---|
hWnd |
Returns: SalBoolean.
Determines whether the specified window is minimized (iconic).
Parameter | Type | Description |
---|---|---|
hWnd |
Returns: SalBoolean.
Returns the first required field that is empty.
Parameter | Type | Description |
---|---|---|
parent |
Returns: SalWindowHandle.
Determines whether the specified window is in the normal state.
Parameter | Type | Description |
---|---|---|
hWnd |
Returns: SalBoolean.
Determines whether the specified window handle identifies an existing window.
Parameter | Type | Description |
---|---|---|
hWnd |
Returns: SalBoolean.
Sets an accelerator keystroke for a window.
Returns: SalNumber.
Moves and resizes a window, based on pixel coordinates.
Parameter | Type | Description |
---|---|---|
hWnd | ||
nLeft | ||
nTop | ||
nWidht | ||
nHeight |
Returns: SalBoolean.
Set windows flags
Parameter | Type | Description |
---|---|---|
hWnd | ||
winFlags | ||
state |
Returns: SalBoolean.
Set windows property
Parameter | Type | Description |
---|---|---|
hWnd | ||
propName | ||
propValue |
Returns: SalBoolean.
Adds/Removes a window style to a window.
Parameter | Type | Description |
---|---|---|
hWnd | ||
style | ||
state |
Returns: SalBoolean.
Changes the tab order of a control.
Returns: SalBoolean.
bOk VisWinShow( hWnd, nShowCmd )
Returns: SalBoolean.
Last updated