TTMSFNCMenuService.MenuLoopEvent Method
Processes a single macOS event dispatched through the menu service hook; sets
CancelIdleorCancelDefaultActionto suppress default handling.
API unit family: TMSFNCPopupMenu
Declaring type: TTMSFNCMenuService
Syntax
procedure MenuLoopEvent(const EventRec: TTMSFNCMenuServiceEventRec; var CancelIdle, CancelDefaultAction: Boolean);
Parameters
| Name | Description |
|---|---|
EventRec |
The captured event and its decoded state. |
CancelIdle |
Set to True to prevent the idle handler from running after this event. |
CancelDefaultAction |
Set to True to suppress the default OS action for this event. |