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>deletemenu()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DeleteMenu()
Delete an item from a menu
------------------------------------------------------------------------------

Syntax
DeleteMenu( <aMenu>, <cId> )   -->  lSuccess

Arguments
<aMenu> is the existing menu, originally obtained from
CreateMenu() or CreatePopupMenu().

<cId> is a character string identifying the item being
deleted.  This string should be one of the ones specified to
AppendMenu() previously.

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

Description
This function can be used to modify an existing menu.
However, it is generally preferable to gray (dim) an item
which is not currently applicable.  The function
EnableMenuItem() is provided to do this.

Example
DeleteMenu( aMenu, "myItem" )


See Also: AppendMenu() CreateMenu() EnableMenuItem()

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