Erel,
I don't want to be a nag, but this is a very interesting suggestion. I was happily working on my programs interface when I was amazed to find that there is no click event for the top level menu items! I am really not sure how I am going to set the enabled states of the items now :-(
Perhaps this could be done with Door.dll?
:signOops:Answered my own question - it can be done with dzEventMagic
dzem.New1("frmMain", False)
dzem.Hook(279)
279 is WM_INITMENUPOPUP
dzem.lParam returns a digit 1 = first item, 2 = second, etc.