Table of Contents

ITMSFNCMenuItemInteraction.ItemMouseUp Method

Called when a mouse button is released over this item; allows the item to react and optionally suppress default handling.

API unit family: TMSFNCPopupMenu Declaring type: ITMSFNCMenuItemInteraction

Syntax

procedure ItemMouseUp(AMouseInfo: TTMSFNCMenuItemMouseInfo; var AClosePopup: Boolean; var ADispatchHandling: Boolean);

Parameters

Name Description
AMouseInfo Mouse position, button, and modifier state at the time of the release.
AClosePopup Set to True to close the containing popup after handling.
ADispatchHandling Set to False to prevent the menu system from performing its default mouse-up response.