Skip to main content
Table of Contents

TTMSFNCMenuItemSeparatorControl.GetParentMenuControl Method

Returns the nearest ancestor TTMSFNCMenuItemControl that contains this item, or nil for top-level items.

API unit family: TMSFNCPopupMenu Declaring type: TTMSFNCMenuItemSeparatorControl Inherited from: TTMSFNCMenuItemControl

Syntax

GeneratedPascalC++
function GetParentMenuControl: TTMSFNCMenuItemControl;
TTMSFNCMenuItemControl* __fastcall GetParentMenuControl();

Returns

The parent menu item control, or nil if this is a top-level item.