Using Win32 functions in Visual FoxPro Image Gallery
Menu
..msdn
AppendMenu
CreateMenu
CreatePopupMenu
DeleteMenu
DestroyMenu
DrawMenuBar
GetMenu
GetMenuBarInfo
GetMenuItemCount
GetMenuItemID
GetMenuItemInfo
GetMenuString
GetSubMenu
GetSystemMenu
InsertMenuItem
IsMenu
SetMenu
TrackPopupMenuEx
Code examples:
Attaching menu to a top-level form
Shortcut Menu Class
DestroyMenu
..msdn    Add comment     W32 Constants      Translate this page
The DestroyMenu function destroys the specified menu and frees any memory that the menu occupies.
Code examples:
Attaching menu to a top-level form
Shortcut Menu Class
Declaration:
BOOL DestroyMenu(
  HMENU hMenu  // handle to menu
);
FoxPro declaration:
DECLARE INTEGER DestroyMenu IN user32;
    INTEGER hMenu
Parameters:
hMenu
[in] Handle to the menu to be destroyed.
Return value:
If the function succeeds, the return value is nonzero. If the function fails, the return value is zero.
My comment:
DestroyMenu is recursive, that is, it will destroy the menu and all its submenus.
Word Index links for the DestroyMenu :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-12-09 11:58:33
Modified: 2001-12-09 12:00:03
Visited in last 7 days: 30
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (23.20.86.177)
6 sec.Function: 'EnumForms'
12 sec.Function: 'ExitProcess'
17 sec.Function: 'FindFirstFile'
23 sec.Function: 'CreatePipe'
28 sec.
Function group: 'Virtual Hard Disk (Win7)'
33 sec.Function: 'CreateFileMapping'
40 sec.Function: 'GetFullPathName'
46 sec.Function: 'EnumPrintProcessors'
52 sec.Function: 'GetModuleBaseName'
58 sec.Function: 'FindFirstVolumeMountPoint'
Google
Advertise here!