Easy. Just create a menu item with no text, like this:
Global menubreak = CreateMenu(parentmenu,"",number) As a personal "rule of thumb," I assign menu "breaks" a value of zero, but you could really use any number. The beauty of this is that you can use the same global in multiple places, like this:
Global menubreak = CreateMenu(parentmenu1,"",number);create the first "menu break," and declare it as a global
;code
;code
;code
menubreak = CreateMenu(parentmenu2,"",number);now use the same variable for a different break! That way, you save memory by using one variable for however many breaks you need in however many menus!
|