This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Creates a dialog timer with the specified time-out value
Syntax
DIALOG SET TIMER hwnd, TimerID, MilliSec [, cbFunction]
Returns
None
Parameters
Name |
Type |
Optional |
Meaning |
hwnd |
Number |
No |
Handle of the dialog |
TimerID |
Numeric |
No |
A unique numeric identifier |
MilliSec |
Numeric |
No |
Number of milliseconds to wait |
cbFunction |
Function |
Yes |
NOT YET SUPPORTED. JUST IGNORE IT |
Remarks
After a TIMER is created into a Window, the system automatically posts a %WM_TIMER message to the window message queue.
More timers can be created in the same window.
Restrictions
See also
Examples
...
%IDC_TIMER = 100
%TIMER_DELAY = 150 '---(milliseconds, not very accurate below 100)
...
DIALOG SET TIMER CBHNDL, %IDC_TIMER, %TIMER_DELAY
...