197
ExtractFilePath
function ExtractFilePath(const wsFile: WideString): WideString
Returns the path of the passed file (includes trailing ‘\’).
GetApplicationSetting
function GetApplicationSetting(nSettingID: Integer)
Retrieves a specific application setting based on a SettingID.
GetImageSize
function GetImageSize(const wsImageFile: WideString; var nHeight, nWidth: Integer):
WordBool
Retrieves the size of the passed image. Returns False on error.
GetMemoryStatus
function GetMemoryStatus(iMemType)
Returns an integer value. The possible values are:
0 - Available System resources (%)
1 - Available GDI resources (%)
2 - Available User resources (%)
3 - General memory used (%)
4 - Total physical memory (bytes)
5 - Available physical memory (bytes)
6 - Total swap file storage space (bytes)
7 - Available swap file storage space (bytes)
8 - Total virtual space (bytes)
9 - Available virtual space (bytes)
On Windows 95/98, the values for 0, 1, and 2 are real numbers. On Windows NT, since
there is no corresponding API call to get resource levels, these types always return the
value 80%.
GetRelativePath
function GetRelativePath(const wsBaseURL, wsFolderURL: WideString): WideString
Returns the relative path of a folder give a base URL. For example,
GetRelativePath ("http://www.allaire.com/", "http://www.allaire.com/
products/")
Returns "products/".
GetTabIndexForFile
function GetTabIndexForFile(const wsFile: WideString): Integer
Returns the index in the document tab of the passed file. Returns -1 If the file isn’t
open.
Summary of Contents for COLDFUSION STUDIO 4.5-USING COLDFUSION...
Page 1: ...Allaire Corporation Using ColdFusion Studio ColdFusion Studio 4 5 for Windows 95 98 NT4 2000...
Page 16: ...xvi Contacting Allaire...
Page 90: ...82...
Page 130: ...122...
Page 133: ...141 Two VTML tags CAT and E let you customize the content of these dialog boxes...
Page 182: ...190...