Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>destroymenu()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DestroyMenu()
Destroy a menu and free its resources
------------------------------------------------------------------------------

Syntax
DestroyMenu( <aMenu> )   -->   lSuccess

Arguments
<aMenu> is the array describing the menu to be destroyed.  It
must not be in use.

Returns
If successful, logical TRUE (.T.) is returned, otherwise FALSE
(.F.) is returned.

Description
This function frees any memory or other resources associated
with the specified menu.

An application need not destroy any menu it assigned to a
window using SetMenu(), as Windows does this automatically.

Example
DestroyMenu( aMenu )


See Also: AppendMenu() CreateMenu() CreatePopupMenu() SetMenu()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson