# Function Tree, Programmer's Toolbox Control

Class/Panel Name | Function Name
Miscellaneous
Get General Error String | GetGeneralErrorString
Do Assert | DoAssert
Pin Value To Range | Pin
Random | Random
Set Random Seed | SetRandomSeed
Start PC Sound | StartPCSound
Stop PC Sound | StopPCSound
Swap Memory Blocks | SwapBlock
Set Break On Library Errors | SetBOLE
Transpose Data | TransposeData
Convert Array Type | ConvertArrayType
Get File Time (C Library Form) | GetFileCLibTime
Floating Point Comparison | FP_Compare
Find Closest Color Match | FindClosestColorInTable
Show Html Help | ShowHtmlHelp
Open Document in Default Viewer | OpenDocumentInDefaultViewer
International Time And Date
International Time | InternationalTime
International Date | InternationalDate
International File Time | InternationalFileTime
International File Date | InternationalFileDate
String Handling
Append String | AppendString
Prefix String | AddStringPrefix
Quote String | AddStringQuotes
Duplicate String | StrDup
StrDup Without Surr White Space | StrDupWithoutSurrWhiteSpace
Skip White Space | SkipWhiteSpace
String Copy With Maximum Limit | StringCopyMax
Skip Non-White Space | SkipNonWhiteSpace
Has Non White Space | HasNonWhiteSpace
Remove Surrounding White Space | RemoveSurroundingWhiteSpace
Case-Insensitive String Compare | StrICmp
Case-Insensitive Character Compare | StrNICmp
Case-Insensitive Compare/No WS | StrICmpWithoutSurrWhiteSpace
Convert String To Integer | StrToInt
Convert String To Unsigned Int | StrToUInt
File
Get File Writability | GetFileWritability
Create and Open Temp File | CreateAndOpenTemporaryFile
Remove File If It Exists | RemoveFileIfExists
Delete And Rename | DeleteAndRename
File Exists? | FileExists
Write String To File | WriteStringToFile
Save Bitmap To File | SaveBitmapToFile
Save Control Display to File | SaveCtrlDisplayToFile
Save Panel Display to File | SavePanelDisplayToFile
Searching and Sorting
Binary Search | BinSearch
Heap Sort | HeapSort
Insertion Sort | InsertionSort
Compare (short) | ShortCompare
Compare (int) | IntCompare
Compare (float) | FloatCompare
Compare (double) | DoubleCompare
Compare (C String) | CStringCompare
Compare (C String case insensitive) | CStringNoCaseCompare
Lists
Create List | ListCreate
Dispose List | ListDispose
Dispose List of Pointers | ListDisposePtrList
Number Of Items In List | ListNumItems
Insert Item In List | ListInsertItem
Get Item From List | ListGetItem
Replace Item In List | ListReplaceItem
Remove Item From List | ListRemoveItem
Multiple Item Functions
Insert Items In List | ListInsertItems
Get Items From List | ListGetItems
Replace Items In List | ListReplaceItems
Remove Items From List | ListRemoveItems
Copy A List | ListCopy
Append A List To Another List | ListAppend
Clear All Items | ListClear
Are Lists Equal | ListEqual
Insert Item In Order | ListInsertInOrder
Get Pointer To Item | ListGetPtrToItem
Get Pointer To List Data | ListGetDataPtr
Apply Function To Each Item | ListApplyToEach
List Searching And Sorting
Find Item In List | ListFindItem
Binary Search For Item In List | ListBinSearch
Quick Sort A List | ListQuickSort
Heap Sort A List | ListHeapSort
Insertion Sort A List | ListInsertionSort
Is A List Sorted | ListIsSorted
Remove Duplicates From A List | ListRemoveDuplicates
List Output/Printing
Output String Item | OutputStringItem
Output Short Item | OutputShortItem
Output Integer Item | OutputIntegerItem
Output Double Item | OutputDoubleItem
Output List | OutputList
Advanced List Operations
Set List Allocation Policy | ListSetAllocationPolicy
Compact List | ListCompact
Pre-Allocate Items In List | ListPreAllocate
Get List Item Size | ListGetItemSize
Memory Block Handles
New Handle | NewHandle
Dispose Handle | DisposeHandle
Get Handle Size | GetHandleSize
Set Handle Size | SetHandleSize
User Interface Utilities
Center Ctrl Label On Left Side | PutLabelOnLeft
Set Common Dialog Shortcut Keys | SetCommonDialogShortcutKeys
Move Ctrl In Front Of Another | MoveInFront
Move Ctrl Behind Another | MoveBehind
Move Ctrl Relative To Another Ctrl | PositionCtrlRelativeToCtrl
Center Control | CenterCtrl
Size Ring Control To Text | SizeRingCtrlToText
Conform Control Bitmap To Panel | ConformCtrlBitmapToPanel
Allocate Control Value String | AllocateCtrlValString
Get String Value Length | GetCtrlValStringLength
Recess Control Frame | RecessCtrlFrame
Recess All Control Frames | RecessAllCtrlFrames
Get Event Name String | UILEventString
Localize Number String | LocalizeNumberString
Delocalize Number String | DelocalizeNumberString
Set Ctrl Tool Tip Attribute | SetCtrlToolTipAttribute
Get Ctrl Tool Tip Attribute | GetCtrlToolTipAttribute
Multiple Control Functions
Set Attribute For Several Ctrls | SetAttributeForCtrls
Get Attribute Max And Min | AttributeMaxAndMin
Set Ctrls To Attribute Extreme | SetCtrlsToAttributeExtreme
Distribute Controls | DistributeCtrls
Center Multiple Labels On Left | PutLabelsOnLeft
Control List Functions
Set Attribute For Ctrls In List | SetAttributeForList
Get Attr Max And Min For List | AttrMaxAndMinForList
Set Ctrls To Attribute Extreme | SetAttributeToExtremeForList
Distribute Controls | DistributeCtrlsInList
Center Labels On Left For Ctrls | PutLabelsOnLeftForList
Set Selected Radio Buttons | SetSelectedRadioButtons
Get Selected Radio Buttons | GetSelectedRadioButtons
Dialogs
Color Change Popup | ColorChangePopup
Progress Dialog
Create A Progress Dialog | CreateProgressDialog
Update A Progress Dialog | UpdateProgressDialog
Discard A Progress Dialog | DiscardProgressDialog
Callback Chaining
Chain Control Callback Function | ChainCtrlCallback
Unchain Control Callback | UnchainCtrlCallback
Get Chained Callback Data | GetChainedCallbackData
Set Chained Callback Data | SetChainedCallbackData
Call Control Callback | CallCtrlCallback
Chain Panel Callback Function | ChainPanelCallback
Unchain Panel Callback | UnchainPanelCallback
Get Chained Panel Callback Data | GetChainedPanelCallbackData
Set Chained Panel Callback Data | SetChainedPanelCallbackData
Call Panel Callback | CallPanelCallback
Extended Mouse Events
Enable Extended Mouse Events | EnableExtendedMouseEvents
Disable Extended Mouse Events | DisableExtendedMouseEvents
Convert Mouse Coordinates | ConvertMouseCoordinates
System Tray Icons
Install System Tray Icon | InstallSysTrayIcon
Set Tray Icon Attribute | SetTrayIconAttr
Get Tray Icon Attribute | GetTrayIconAttr
Remove System Tray Icon | RemoveSysTrayIcon
Popup Menus
Attach Tray Icon Popup Menu | AttachTrayIconMenu
Set Popup Menu Attribute | SetTrayIconMenuAttr
Get Popup Menu Attribute | GetTrayIconMenuAttr
Add Tray Icon Popup Menu Item | InsertTrayIconMenuItem
Set Popup Menu Item Attribute | SetTrayIconMenuItemAttr
Get Popup Menu Item Attribute | GetTrayIconMenuItemAttr
Detach Tray Icon Popup Menu | DetachTrayIconMenu
Meta Fonts
Get Meta Font Information | GetMetaFontInfo
Is Meta Font? | IsMetaFont
Windows Registry
Write String to Registry | RegWriteString
Write Array of String to Registry | RegWriteStringArray
Read String from Registry | RegReadString
Write ULong to Registry | RegWriteULong
Read ULong from Registry | RegReadULong
Write Binary to Registry | RegWriteBinary
Read Binary from Registry | RegReadBinary
Query Information On Key From Registry | RegQueryInfoOnKey
Enumerate One Value From Registry | RegEnumerateValue
System Configuration
Get Windows Version | GetWinOSVersion
Get Windows Directories | GetWindowsDirs
Get Computer Name | GetCompName
GUI
Get System Color | GetWindowsColor
Set ScreenSaver | SetScreenSaver
Get ScreenSaver | GetScreenSaver
Set Desktop Wallpaper | SetWallpaper
Get Desktop Wallpaper | GetWallpaper
Keyboard
Get Keyboard Preferences | GetKeyboardPreferences
Set Keyboard Preferences | SetKeyboardPreferences
Resources
Get Disk Space | GetDiskSpace
Compare UInt64Type to UInt | UInt64TypeCompareUInt
Get Memory Information | GetMemoryInfo
Windows Messaging
Install Win Message Callback | InstallWinMsgCallback
Set Callback Attribute | SetMsgCallbackAttribute
Get Callback Attribute | GetMsgCallbackAttribute
Remove Win Message Callback | RemoveWinMsgCallback
Route Messages
Route Win Msg To Panel Callback | RouteWinMsgToPanelCallback
Unroute Win Msg To Panel Callback | UnrouteWinMsgToPanelCallback
User Information
Get User Name | GetCurrentUser
Drag-And-Drop
Enable Drag-And-Drop | EnableDragAndDrop
Disable Drag-And-Drop | DisableDragAndDrop
Constants And Conversions
Mathematical Constants
Pi | Pi
Two Times Pi | TwoPi
Half Of Pi | HalfPi
Three Times Pi Divided By Two | ThreeHalvesPi
Reciprocal Of Pi | ReciprocalOfPi
Natural Logarithm Of Pi | LnOfPi
Base Ten Logarithm Of Pi | Log10OfPi
Euler's Constant (e) | Euler
Reciprocal Of Euler's Constant | ReciprocalOfEuler
Log Base 10 Of Euler's Constant | Log10OfEuler
Natural Logarithm Of Ten | Ln10
Natural Logarithm Of Two | Ln2
Physical Constants
Planck's Constant | PlanckConstant
Elementary Charge | ElementaryCharge
Speed Of Light In A Vacuum | SpeedOfLight
Avogadro's Number | AvogadroConstant
Gravitational Constant | GravitationalConstant
Rydberg's Constant | RydbergConstant
Molar Gas Constant | MolarGasConstant
Conversions
Convert Degrees To Radians | DegToRad
Convert Radians To Degrees | RadToDeg
Convert Celsius To Kelvin | CelsiusToKelvin
Convert Kelvin To Celsius | KelvinToCelsius
Convert Celsius To Fahrenheit | CelsiusToFahrenheit
Convert Fahrenheit To Celsius | FahrenheitToCelsius
Convert Meters To Feet | MetersToFeet
Convert Feet To Meters | FeetToMeters
Convert Kilometers To Miles | KilometersToMiles
Convert Miles To Kilometers | MilesToKilometers
Convert Kilograms To Pounds | KilogramsToPounds
Convert Pounds To Kilograms | PoundsToKilograms
Convert Liters To Gallons | LitersToGallons
Convert Gallons To Liters | GallonsToLiters
Callback Posting
Post Delayed Callback Function | PostDelayedCall
Post Deferred Call To Thread And Wait | PostDeferredCallToThreadAndWait