Create a PopUp in tab menu

Hi,

I want to group some tab menu commands in a pop up menu. I did not find the rigth way to do this. You can find a sample of how the menus should look like in the attachment.

SolidworksApi macros