JCL Help:TMmNotificationKind

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Determines the method of notification when the timer's interval elapses. You can choose between using kernel events or callbacks.


Pascal

 public TMmNotificationKind = (
nkCallback,
nkSetEvent,
nkPulseEvent
);


Members

Members Description
nkCallback The timer uses the callback method to notify you when the timer expires. This means that the handler assigned to the OnTimer event property will be called every time the timer's interval expires.
nkSetEvent The timer uses a manual-reset event to notify you when the interval expires. After calling BeginTimer you use the WaitFor method to wait until the interval expires. When the interval expires WaitFor returns and you can do whatever it is you were waiting to do. Note however that you must manually reset the event using the Event.ResetEvent method otherwise the event remains signaled and subsequent calls to WaitFor will return immediately irrespective of whether the interval expired. This applies to both one-shot and periodic timers!
nkPulseEvent Same as nkSetEvent with the difference that the event is automatically reset to the non-signaled state and therefore there is no need to manually call the ResetEvent method.


Description

Determines the method of notification when the timer's interval ellapses. You can choose between using kernel events or callbacks.


About

Unit

JclMultimedia


Navigation

no pages or subcategories

Donator

Marcel van Brakel


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page