Here’s an actual long menu where I did this originally calling API SetMenuItemInfo() to change Type to MF_MENUBARBREAK which is a lot more work than Prop:Max
My desire is to spilt at a logical place, like all the basic font styling (bold italic…) are split to the left, the more complex font items are on the right.
The alternative is it use sub menus which can hide things and take more mouse travel, but if that subset of items belongs together it is a good solution. It depends on the application what’s best, and opinion. Now I know how to split.
For me, sub menus take an extra amount of mouse travel because I usually have to open the menu 500 times, give or take 100, to get the correct thing to appear.
No, I was speaking about using them and trying to not miss the menu with my mouse, because otherwise I have to start over I don’t remember it being a problem to use the PopupClass for submenus, but it’s been a few years since I’ve needed that.
In general, I think the PopupClass is pretty useful, and easy to add to handcoded projects.