Table of Contents

ITMSFNCMenuItemInteraction.HavePopup Method

Returns True if this item has a sub-menu that should open when the given virtual key is pressed.

API unit family: TMSFNCPopupMenu Declaring type: ITMSFNCMenuItemInteraction Inherited from: ITMSFNCMenuItem

Syntax

function HavePopup(AKey: Word): Boolean;

Parameters

Name Description
AKey Virtual key code to test, or 0 to test for any key.

Returns

True when the item owns a sub-menu triggered by the given key; False otherwise.