Good morning Gustavo.
If i understood it well, you want to change the menu (File, edit, ..) to others customized by user.
The are functions that you could use to manipulate the vi menu as you can at Programming >> Dialog & User Interface >> Menu Functions on Functions Pallete.
I build a code that allow you to do it.
Let me know if i´m right about you problem.
Regards,
Filipe NI Brazil