<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > DIALOGS > Dialog Commands > DIALOG KILL TIMER |
Description
Destroy a timer associated to a dialog
Syntax
DIALOG KILL TIMER hwnd, TimerID
Returns
None
Parameters
Name |
Type |
Optional |
Meaning |
hwnd |
Number |
No |
Handle of the dialog |
TimerID |
Numeric |
No |
A unique numeric identifier |
Remarks
Restrictions
See also
DIALOG SET TIMER ...
Examples
...
%IDC_TIMER = 100
%TIMER_DELAY = 150 '---(milliseconds, not very accurate below 100)
...
DIALOG SET TIMER CBHNDL, %IDC_TIMER, %TIMER_DELAY
...
DIALOG KILL TIMER CBHNDL, %IDC_TIMER
...