Vcl.ActnMenus.TCustomActionMenuBar.ProcessMessages
Delphi
procedure ProcessMessages;
C++
void __fastcall ProcessMessages();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ActnMenus.pas Vcl.ActnMenus.hpp |
Vcl.ActnMenus | TCustomActionMenuBar |
Description
Interrupts the execution of an application so that it can process the message queue.
ProcessMessages permits the application to process messages that are currently in the message queue. ProcessMessages cycles the Windows message loop until it is empty, and then returns the control to the application.
Note: ProcessMessages does not allow the application to go idle, whereas ProcessMessage does.