Does DestroyMenu also automatically destroy it's submenus (and subsubmenus etc.)? Thomas
Yes, DestroyMenu is recursive. This is from the MDSN :
Before closing, an application must use the DestroyMenu function to destroy a menu not assigned to a window. A menu that is assigned to a window is automatically destroyed when the application closes. DestroyMenu is recursive, that is, it will destroy the menu and all its submenus.
Great, I didn't found that yet. Many thanks! Thomas