TTMSFNCPopupMenuGetNumberOfSubMenuItems Event Type
Fires to let the application override the number of sub-menu items shown under a parent item.
API unit family: TMSFNCPopupMenu
Parameters
| Name | Description |
|---|---|
Sender |
The popup menu that raised the event. |
AParentMenuItemControl |
The parent item whose sub-item count is being queried. |
ADisplayItemCount |
Override the sub-item count by setting this parameter. |