>Is it possible to define menu pads that can be called programmatically but are not visible?
The short answer is yes. This used to be a popular trick for enabling Cut-Copy-Paste in apps that didn't have a Edit menu.
The long answer will have to be supplied by someone else, unfortunately. I think it's just a question of defining the pad and not attaching it to a bar...