Sent to the Application Actions, top-level window and its children, MDI window every n milliseconds, as specified by SalTimerSet. Check the wParam to find the identifier of the timer that sent the message. This way, one object can process SAM_Timer messages from more than one timer. Important: Timers are a limited resource in Windows, so use them sparingly. Message Variables hWndForm Window handle of the top-level window. hWndItemVAR_hWndItem Window handle of the object receiving the message. wParam Timer ID. IParam Unused. Example Form Window: frmMainForm Title: Customer List ... Contents Data Field: dfDateTime ... Message Actions On SAM_Timer ! Use SalTimerSet to set timer to send SAM_Timer ! messages once every minute. Update time display !on screen. Set dtDateTime = SalDateCurrent( )

Namespace: PPJ.Runtime
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public const int SAM_Timer

See Also