Skip to content

CanProcessMessages

function

Delphi
function CanProcessMessages: Boolean;
C++Builder
bool __fastcall CanProcessMessages();
C#
public bool CanProcessMessages();
VB.NET
Public Function CanProcessMessages() As Boolean
C++/Qt
BOOL CanProcessMessages ();

Used to know if message-based processings can be applied

Remarks

Used to know if message-based processings can be applied, mainly during the TVideoGrabber events like the OnFrameCaptureCompleted or OnFrameOverlayUsing... events.

This function returns false if the player is running and UseClock is disabled. In this case message-based code must not be invoked (e.g. like creating and displaying a form) during the OnFrameCaptureCompleted, OnFrameProgress or OnFrameOverlayUsingDC and other OnFrameOverlayUsing... events.