>>Sounds most likely a hanging of a modal form (not being released). But an alternative solution might be to consider to build the menus using Herman Tan's Owner Drawn Menu Class. I have used this now for about a year and not had any problems. There is a builder available to convert a standard menu to the prg for the OD menu. This is available as a download from Herman Tan. Also, the GKK Menu Editor that I wrote now supports generating a menu for this class as well.
>>
>>
http://www.bdurham.com/vfprocks/hermantan/downloads.htm>
>Does it allow to specify time duration for the menu to be active?
I do not remember such a property setting on the menu options. Unfortunately there is not very much documentation on the class -- only some example of its usage and a builder for converting a VFP defined menu into the PRG form to use the classlib. I will poke around in the class and see if there are any settings. You might try to contact Herman Tan directly.