I am using a Menu bar.
i have also used a Menu Handler on Window.
i can click main menus using menu handler but sub menus are disabled. i am not getting how to enable them.
e.g i have a File menu without any sub menu. then it works.
If i adds a sub menu under File > Exit.
Exit Menu is disabled on running app.
I imagine that you know that if you do not create the Menu Handler for this submenu, it will be disabled.
Main menu items are always enabled, but they don’t run any code if they have submenus.
[quote=483828:@Ramon SASTRE]I imagine that you know that if you do not create the Menu Handler for this submenu, it will be disabled.
Main menu items are always enabled, but they don’t run any code if they have submenus.[/quote]
I have used Menu handler for sub menus but its not working
if i write code for main menu then it works for it but same is not happening for sub menus.
I have noticed a EnableMenuItems event of a window but don’t know what code should i write in that event.