I have a TTrayIcon with a PopupMenu which has several items. One of which has a submenu that needs to be dynamically created / updated. The number of subitems is variabele. Preferably i want something like this
PopupMenuItem->AddSubItem(
"caption 1")
PopupMenuItem->AddSubItem(
"caption 2")
etc.. and a way to clear them all again. Any ideas?
Start Free Trial