TVideoGrabber.CanProcessMessages

Prev

Next

TVideoGrabber

Methods

 




































































































Used to know if message-based processings can be applied


Declaration
function CanProcessMessages: Boolean;


void __fastcall CanProcessMessages(void)


Function CanProcessMessages() As Boolean

Description

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 you must not invoke message-based code (e.g. like creating and displaying a form) during the OnFrameCaptureCompleted , OnFrameProgress or OnFrameOverlayUsingDC and other OnFrameOverlayUsing... events.