| Maptitude GISDK Help |
Uses a timer to go into a waiting loop that yields to other processes.
Sleep(integer interval)
| Argument | Contents |
|---|---|
| interval | The time, in milliseconds, to remain in a waiting loop |
Sleep() can be used to prevent Maptitude from getting ahead of other processes, such as printing a whole series of maps. It does not allow Maptitude to process and respond to Windows messages. The Task Manager would declare Maptitude as "not responding."
// Go to sleep for half a minute
Sleep(30000)
| Function | Summary |
|---|---|
| CreateTimer() | Sets up a timer that executes a macro at fixed-time intervals |
| DestroyTimer() | Cancels a timer that executes a macro at fixed-time intervals |
| CreateStopwatch() | Start a stopwatch to track clock time |
| CheckStopwatch() | Determine the elapsed time since a stopwatch was started |
| DestroyStopwatch() | Stops or cancels a stopwatch |
| Pause() | Uses a timer to go into a waiting loop that yields to other processes, allowing Windows messages to be dispatched while waiting |
| ©2025 Caliper Corporation | www.caliper.com |