Hi at Sapien,
Have you any examples of dynamically building a cascading toolstripmenu from a simple directory tree (2\3 levels deep) and adding files within the tree as items with click events? Obviously given a set starting root folder.
I am trying to add this kind of structure to a system tray app.
Pete
Dynamically build cascading menu from directory structure
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- PGomersall
- Posts: 131
- Last visit: Thu Feb 15, 2024 12:14 pm
Re: Dynamically build cascading menu from directory structure
For this kind of structure we would use a TreeView control. Doing this complex of a structure from a tray app would be disruptive. Just have the tray app open a dialog with a TreeView control.