ApplicationPriority
property
Delphi
property ApplicationPriority: TApplicationPriority read GetApplicationPriority write SetApplicationPriority default DEF_ApplicationPriority;
C++Builder
__property TApplicationPriority ApplicationPriority = {read=GetApplicationPriority, write=SetApplicationPriority, default=0};
C#
public TApplicationPriority ApplicationPriority { get; set; }
VB.NET
Public Property ApplicationPriority As TApplicationPriority
C++/Qt
TApplicationPriority GetApplicationPriority ();
void SetApplicationPriority (TApplicationPriority Value);
Used to set the priority of the application.
Values ap_default: normal priority
ap_idle: idle priority
ap_normal: normal priority
ap_high: high priority
ap_realtime: real time priority
Although it looks like threading priority, this property is used to select the accuracy of the frame counting by the OnFrameProgress2 event.
It is recommend to leave it to its default value.
Setting it to ap_idle may reduce the CPU load but may not report all the frames.