CanProcessMessages
Delphi
function CanProcessMessages: Boolean;
C++Builder
bool __fastcall CanProcessMessages();
C#
public bool CanProcessMessages();
VB.NET
Public Function CanProcessMessages() As Boolean
C++/Qt
BOOL CanProcessMessages ();
Indicates if message-based processing 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. creating and displaying a form) during the OnFrameCaptureCompleted, OnFrameProgress or OnFrameOverlayUsingDC and other OnFrameOverlayUsing... events.