ProtoApp Window Menu Question


#1

Hi,
I would like to replicate what takes place in the C# version of the ProtoApp sample application where the names of open documents appear as menu items in the window menu. I am very familiar with the code at this point but I can’t seem to find where this functionality is being handled.
I don’t see “windowMenu.MenuItems.Add” anywhere in the code other than in the InitializeComponent() code for the mainform. Would someone be able to point me in the right direction of where this functionality is being enabled?
Thanks!
Joy


#2

This is provided automatically by Windows Forms when you set MenuItem.MdiList to true.