Maptitude GISDK Help

General Purpose GISDK Functions

The following are some general purpose GISDK functions:

 

GISDK Function

Summary

ChooseColor()

Gets a color using the Windows Color dialog box

ChooseFont()

Gets a font using the Windows Font dialog box

Exit()

Closes the application

GetEnvironmentVariable()

Gets the value of a DOS environment variable

GetInterface()

Gets the name of the UI Database that a macro is in

GetLastError()

Gets the text of the last error generated by Maptitude

GetPlatformVersion()

Returns an array with information about the operating system

GetProgram()

Gets information about the program

GetScreenResolution()

Returns the screen dimensions in pixels

GetSystemDirectory()

Gets the full path of the Windows directory

GetSystemInfo()

Gets an array of system information

LoadResourceFile()

Compiles a Caliper Script resource file

MessageBox()

Creates a dialog box with a message.

OpenFileInDebugger()

Opens a file in the GISDK Debugger

PlaySlideshow()

Plays a multimedia slide show

PlaySound()

Plays a sound file

ResetCursor()

Restores the system pointer to the type previously used

RunDbox()

Runs a dialog box or opens a toolbox or toolbar

RunMacro()

Runs a macro

SendMail()

Initiates a mail program and, if the window is a map window, attaches the associated map

SetAlternateInterface()

Sets the name of the alternate User Interface (UI) database

SetCursor()

Sets the system pointer cursor style to one of several predefined options

SetDefaults()

Sets the default system menu, toolbar, and macros for the frame window

SetEnvironmentVariable()

Sets the value of a DOS environment variable within the current program's process

SetMRUFiles()

Sets the list of Most Recently Used files displayed in the menu system and the macro to run when one is chosen

SetReferenceInfo()

Toggles showing the reference information when calling GetLastError()

SetSearchPath()

Specifies the search path used by Maptitude to locate files

ShowMessage()

Shows a message in a standard Windows message box

StartDebugger()

Starts the GISDK Debugger

Throw()

Causes an error to be raised

TypeOf()

Indicates the Caliper Script type of variable

 

 

©2025 Caliper Corporation www.caliper.com