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 whether message-based processing can be applied, mainly during the TVideoGrabber events such as OnFrameCaptureCompleted or the OnFrameOverlayUsing... events.
This function returns false while the TVideoGrabber component is being destroyed. When the player is running and UseClock is disabled, message-based code (e.g. creating and displaying a form) must not be invoked during the OnFrameCaptureCompleted, OnFrameProgress, OnFrameOverlayUsingDC and other OnFrameOverlayUsing... events.