TwclMessageBroadcaster.ProcessMessages Method
Force WCL message processing for current thread.
public class function ProcessMessages: Integer;
Return Value
Type: Integer
If the function succeed the returns value is wclErrors.WCL_E_SUCCESS. Otherwise the function returns one of the WCL error codes.
This function can be used to force WCL message processing in case if your execution thread is blocked.