If I create a new form and add a menu to it via the Form Designer the following menu code is auto generated and it always uses the following command.
Code: Select all
CreateMenu(0, WindowID(Window_0))
Is there any way to avoid using 0 as the ID and use #PB_Any or a Enumeration variable?
I am only thinking out loud and wondering if using 0 will cause any ID issues later on with other gadgets (that might be auto assigned 0 ID) or other menus in other forms that will also be auto generated with 0 as the ID by the Forms Designer.