Does DestroyMenu also automatically destroy it's submenus (and subsubmenus etc.)? Thomas
Posted on 2001-07-01 15:22:00 by 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.
Posted on 2001-07-01 15:26:00 by karim
Great, I didn't found that yet. Many thanks! Thomas
Posted on 2001-07-01 16:14:00 by Thomas