Navigation:  thinBasic Modules > UI (User Interface) > DIALOGSs >

DIALOG KILL TIMER

Previous pageReturn to chapter overviewNext page

 

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

...

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com