
The problem is when you create a second form which also has its own menu, the code generated for CreateMenu always sets to 0 the menu (it doesnt ever seem to use #PB_ANY)
So, both forms have CreateMenu(0).
They both also share the same "Enumeration FormMenu", seems to be a conflict there too?
So when you load the 2nd form it also calls CreateMenu(0) and ends up corrupting the menu in the 1st form.
If you manually change it to say CreateMenu(2) and switch from Code View to Design View and then back to Code View it reverts back to CreateMenu(0).
But manually changing PBF forms is obviously not recommended, plus I need the ability to re-edit them in future, and you seemingly can't re-edit it without it reverting to CreateMenu(0).
Hopefully im just missing something simple and obvious! Helllp please!
