How to create greyed out submenus?

BlitzMax Forums/BlitzMax GUI Programming/How to create greyed out submenus?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

There's a problem using UpdateWindowMenu inside loop:
If we use PopupMenu ( for mouse context )
The contextMenu is droped as a "normal" Menu

Only way I found is freeing the contextmenu, then Disable, Update and finally recreate the contextmenu...

Did Anyone solve this problem ?