If you just wanted to have each form know whether it had a menu or not, you could put this line
oFormRef.MenuActive = .T.
in your menu SETUP routine. Obviously, you'd need to create a MenuActive property on your form. But, this would work. (If the .mpr generator ever changed the variable name oFormRef, you'd have to change this)