Vcl.ActnMenus.TCustomActionMenuBar.ProcessMessage
Delphi
function ProcessMessage(var Msg: TMsg): Boolean;
C++
bool __fastcall ProcessMessage(tagMSG &Msg);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.ActnMenus.pas Vcl.ActnMenus.hpp |
Vcl.ActnMenus | TCustomActionMenuBar |
Description
Interrupts the execution of an application while Windows processes a message in the Windows message queue.
ProcessMessage interrupts the execution of the application so that Windows can process a single message from the Windows message queue before returning the control to the application. If the message queue is empty, ProcessMessage generates a TApplication.OnIdle event and starts the process of updating the actions in the application.